Spaces:
Sleeping
Sleeping
Commit
·
f1a47e2
1
Parent(s):
0060931
Update app.py
Browse files
app.py
CHANGED
|
@@ -106,7 +106,7 @@ def generate_ocr(Method,img):
|
|
| 106 |
url = 'https://pragnakalpdev33.pythonanywhere.com/HF_space_image_to_text'
|
| 107 |
myobj = {'Deep': 'Mistry'}
|
| 108 |
|
| 109 |
-
x = requests.post(url,
|
| 110 |
print("Method___________________",Method)
|
| 111 |
if Method == 'EasyOCR':
|
| 112 |
text_output = ocr_withreadme.txt_easy(img)
|
|
|
|
| 106 |
url = 'https://pragnakalpdev33.pythonanywhere.com/HF_space_image_to_text'
|
| 107 |
myobj = {'Deep': 'Mistry'}
|
| 108 |
|
| 109 |
+
x = requests.post(url, data = myobj)
|
| 110 |
print("Method___________________",Method)
|
| 111 |
if Method == 'EasyOCR':
|
| 112 |
text_output = ocr_withreadme.txt_easy(img)
|