OlamideKayode commited on
Commit
9cd14c1
·
verified ·
1 Parent(s): 61e537a

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -149,6 +149,7 @@ with gr.Blocks() as demo:
149
  user_input = gr.Textbox(placeholder="Ask a question about University of Hull...", show_label=False)
150
  user_input.submit(fn=chat_fn, inputs=[user_input, state], outputs=[chatbot, state])
151
 
152
- demo.launch()
 
 
153
 
154
- #app = demo
 
149
  user_input = gr.Textbox(placeholder="Ask a question about University of Hull...", show_label=False)
150
  user_input.submit(fn=chat_fn, inputs=[user_input, state], outputs=[chatbot, state])
151
 
152
+ # demo.launch()
153
+ if __name__ == "__main__":
154
+ demo.launch()
155