Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 59 |
task="text-generation",
|
| 60 |
)
|
| 61 |
)
|
| 62 |
-
|
| 63 |
print(f"Error instantiating agent: {e}")
|
| 64 |
return f"Error initializing agent: {e}", None
|
| 65 |
|
|
|
|
| 59 |
task="text-generation",
|
| 60 |
)
|
| 61 |
)
|
| 62 |
+
except Exception as e:
|
| 63 |
print(f"Error instantiating agent: {e}")
|
| 64 |
return f"Error initializing agent: {e}", None
|
| 65 |
|