Update app.py
Browse files
app.py
CHANGED
|
@@ -60,10 +60,10 @@ def math_solution_openrouter(api_key, prob_text, history=None):
|
|
| 60 |
|
| 61 |
return solution, history
|
| 62 |
|
| 63 |
-
|
| 64 |
-
|
| 65 |
|
| 66 |
-
|
| 67 |
|
| 68 |
|
| 69 |
#image processing
|
|
|
|
| 60 |
|
| 61 |
return solution, history
|
| 62 |
|
| 63 |
+
except Exception as e:
|
| 64 |
+
error_message= f"Error:{str(e)}"
|
| 65 |
|
| 66 |
+
return error_message, history
|
| 67 |
|
| 68 |
|
| 69 |
#image processing
|