Spaces:
Paused
Paused
Upload app.py with huggingface_hub
Browse files
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 |
|
|
|