Update app.py
Browse files
app.py
CHANGED
|
@@ -235,7 +235,7 @@ class XylariaChat:
|
|
| 235 |
yield "", updated_history, None, None
|
| 236 |
return
|
| 237 |
else:
|
| 238 |
-
message = f"Math OCR Result: {ocr_text}\n\nUser's message: {message}
|
| 239 |
|
| 240 |
# Check if an image was actually uploaded
|
| 241 |
if image_filepath:
|
|
|
|
| 235 |
yield "", updated_history, None, None
|
| 236 |
return
|
| 237 |
else:
|
| 238 |
+
message = f"Math OCR Result: {ocr_text}\n\nUser's message: {message}"
|
| 239 |
|
| 240 |
# Check if an image was actually uploaded
|
| 241 |
if image_filepath:
|