Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -185,5 +185,9 @@ async def main(message: cl.Message):
|
|
| 185 |
|
| 186 |
except Exception as e:
|
| 187 |
await cl.ErrorMessage("Internal Server Error").send()
|
|
|
|
|
|
|
|
|
|
|
|
|
| 188 |
|
| 189 |
### TODO add future todos, include support for images and pdf upload for conversation
|
|
|
|
| 185 |
|
| 186 |
except Exception as e:
|
| 187 |
await cl.ErrorMessage("Internal Server Error").send()
|
| 188 |
+
if _name_ == "_main_":
|
| 189 |
+
import chainlit as cl
|
| 190 |
+
cl.run()
|
| 191 |
+
|
| 192 |
|
| 193 |
### TODO add future todos, include support for images and pdf upload for conversation
|