Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -202,10 +202,11 @@ async def main(message: cl.Message):
|
|
| 202 |
await msg.send()
|
| 203 |
|
| 204 |
except Exception as e:
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
|
|
|
| 209 |
|
| 210 |
|
| 211 |
### TODO add future todos, include support for images and pdf upload for conversation
|
|
|
|
| 202 |
await msg.send()
|
| 203 |
|
| 204 |
except Exception as e:
|
| 205 |
+
await cl.ErrorMessage("Internal Server Error").send()
|
| 206 |
+
|
| 207 |
+
if _name_ == "_main_":
|
| 208 |
+
import chainlit as cl
|
| 209 |
+
cl.run()
|
| 210 |
|
| 211 |
|
| 212 |
### TODO add future todos, include support for images and pdf upload for conversation
|