Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,6 +45,8 @@ def extract_text(image):
|
|
| 45 |
|
| 46 |
# Remove any remaining conversation markers
|
| 47 |
result = result.replace("user", "").replace("Extract handwritten text from the image and output only the extracted text without any additional description or commentary in output", "").strip()
|
|
|
|
|
|
|
| 48 |
|
| 49 |
return result
|
| 50 |
|
|
|
|
| 45 |
|
| 46 |
# Remove any remaining conversation markers
|
| 47 |
result = result.replace("user", "").replace("Extract handwritten text from the image and output only the extracted text without any additional description or commentary in output", "").strip()
|
| 48 |
+
|
| 49 |
+
print(result)
|
| 50 |
|
| 51 |
return result
|
| 52 |
|