PlantBasedTen commited on
Commit
8bd1b8f
·
verified ·
1 Parent(s): cb897de

Upload 2 files

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -158,7 +158,7 @@ def predict(message: str, history: List[List[str]], about_me: str) -> str:
158
  yield bot.answer(**generate_kwargs)
159
 
160
 
161
- demo = gr.ChatInterface.load(
162
  predict,
163
  textbox=gr.Textbox(
164
  placeholder="Ask me a financial question",
@@ -198,4 +198,4 @@ demo = gr.ChatInterface.load(
198
 
199
 
200
  if __name__ == "__main__":
201
- demo.queue().launch()
 
158
  yield bot.answer(**generate_kwargs)
159
 
160
 
161
+ demo = gr.ChatInterface(
162
  predict,
163
  textbox=gr.Textbox(
164
  placeholder="Ask me a financial question",
 
198
 
199
 
200
  if __name__ == "__main__":
201
+ demo.load().queue().launch()