Spaces:
Runtime error
Runtime error
AI-RESEARCHER-2024
commited on
Commit
•
36cef3b
1
Parent(s):
6c10a63
Update app.py
Browse files
app.py
CHANGED
@@ -130,4 +130,7 @@ 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)
|
|
|
|
|
|
|
|
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.start()
|