Spaces:
Running
Running
Reality123b
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -675,7 +675,7 @@ class XylariaChat:
|
|
675 |
yield "", chat_history, None, None, None
|
676 |
return
|
677 |
|
678 |
-
|
679 |
if math_ocr_image_path:
|
680 |
ocr_text = self.perform_math_ocr(math_ocr_image_path)
|
681 |
if ocr_text.startswith("Error"):
|
|
|
675 |
yield "", chat_history, None, None, None
|
676 |
return
|
677 |
|
678 |
+
ocr_text = ""
|
679 |
if math_ocr_image_path:
|
680 |
ocr_text = self.perform_math_ocr(math_ocr_image_path)
|
681 |
if ocr_text.startswith("Error"):
|