Xyro123 commited on
Commit
3f32236
·
verified ·
1 Parent(s): e6f646d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -202,10 +202,11 @@ async def main(message: cl.Message):
202
  await msg.send()
203
 
204
  except Exception as e:
205
- await cl.ErrorMessage("Internal Server Error").send()
206
- if __name__ == "__main__":
207
- import chainlit as cl
208
- cl.run()
 
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