Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -185,9 +185,9 @@ async def main(message: cl.Message):
|
|
| 185 |
|
| 186 |
except Exception as e:
|
| 187 |
await cl.ErrorMessage("Internal Server Error").send()
|
| 188 |
-
if
|
| 189 |
-
|
| 190 |
-
|
| 191 |
|
| 192 |
|
| 193 |
### 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
|