Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1613,7 +1613,7 @@ def langgraph_tab6_main(query: str, file=None):
|
|
| 1613 |
if "summary" in result:
|
| 1614 |
return result["summary"]
|
| 1615 |
return "No answer."
|
| 1616 |
-
|
| 1617 |
logger.error(f"Error in main function: {e}")
|
| 1618 |
return f"[Tab6 Error] {str(e)}"
|
| 1619 |
|
|
|
|
| 1613 |
if "summary" in result:
|
| 1614 |
return result["summary"]
|
| 1615 |
return "No answer."
|
| 1616 |
+
except Exception as e:
|
| 1617 |
logger.error(f"Error in main function: {e}")
|
| 1618 |
return f"[Tab6 Error] {str(e)}"
|
| 1619 |
|