Spaces:
Running
Running
wjbmattingly
commited on
Commit
β’
06499d6
1
Parent(s):
b70b113
added simple readme
Browse files- README.md +3 -2
- __pycache__/main.cpython-310.pyc +0 -0
- send_image.py +2 -1
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title: Kraken
|
3 |
emoji: π
|
4 |
colorFrom: blue
|
5 |
colorTo: yellow
|
@@ -8,4 +8,5 @@ pinned: false
|
|
8 |
license: cc-by-sa-4.0
|
9 |
---
|
10 |
|
11 |
-
|
|
|
|
1 |
---
|
2 |
+
title: Kraken API
|
3 |
emoji: π
|
4 |
colorFrom: blue
|
5 |
colorTo: yellow
|
|
|
8 |
license: cc-by-sa-4.0
|
9 |
---
|
10 |
|
11 |
+
This is a simple [Kraken](https://kraken.re/main/index.html) FastAPI. It is designed to allow users to obtain line segmentation simply from a Kraken model. I have plans to expand this to include all other Kraken inputs including OCR.
|
12 |
+
|
__pycache__/main.cpython-310.pyc
DELETED
Binary file (1.72 kB)
|
|
send_image.py
CHANGED
@@ -24,4 +24,5 @@ if response.status_code == 200:
|
|
24 |
print(f"Line: {line}")
|
25 |
else:
|
26 |
print(f"Error: {response.status_code}")
|
27 |
-
print(response.text)
|
|
|
|
24 |
print(f"Line: {line}")
|
25 |
else:
|
26 |
print(f"Error: {response.status_code}")
|
27 |
+
print(response.text)
|
28 |
+
|