Spaces:
Running
Running
TejAndrewsACC
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def create_ui():
|
|
28 |
user_input = gr.Textbox(label="Ask Philos:", placeholder="Ask anything...", lines=3)
|
29 |
response_output = gr.Textbox(label="Philos' Response:", lines=7, interactive=False)
|
30 |
submit_btn = gr.Button("Ask Philos!")
|
31 |
-
submit_btn.click(fn=
|
32 |
|
33 |
return demo
|
34 |
|
|
|
28 |
user_input = gr.Textbox(label="Ask Philos:", placeholder="Ask anything...", lines=3)
|
29 |
response_output = gr.Textbox(label="Philos' Response:", lines=7, interactive=False)
|
30 |
submit_btn = gr.Button("Ask Philos!")
|
31 |
+
submit_btn.click(fn=chat_with_philos, inputs=user_input, outputs=response_output)
|
32 |
|
33 |
return demo
|
34 |
|