Spaces:
Runtime error
Runtime error
AI-RESEARCHER-2024
commited on
Commit
•
6c10a63
1
Parent(s):
72141ef
Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,4 @@ async def main(message: cl.Message):
|
|
130 |
except Exception as e:
|
131 |
import traceback
|
132 |
error_msg = f"An error occurred: {str(e)}\n{traceback.format_exc()}"
|
133 |
-
await msg.update(content=error_msg)
|
134 |
-
|
135 |
-
if __name__ == "__main__":
|
136 |
-
cl.run()
|
|
|
130 |
except Exception as e:
|
131 |
import traceback
|
132 |
error_msg = f"An error occurred: {str(e)}\n{traceback.format_exc()}"
|
133 |
+
await msg.update(content=error_msg)
|
|
|
|
|
|