Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -124,7 +124,8 @@ def predict(image, question):
|
|
| 124 |
|
| 125 |
except Exception as e:
|
| 126 |
traceback.print_exc()
|
| 127 |
-
return f"An error occurred: {str(e)}"
|
|
|
|
| 128 |
|
| 129 |
# 4. Gradio Interface
|
| 130 |
iface = gr.Interface(
|
|
|
|
| 124 |
|
| 125 |
except Exception as e:
|
| 126 |
traceback.print_exc()
|
| 127 |
+
#return f"An error occurred: {str(e)}"
|
| 128 |
+
return f"An error occurred: {traceback.format_exc()}"
|
| 129 |
|
| 130 |
# 4. Gradio Interface
|
| 131 |
iface = gr.Interface(
|