Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -35,8 +35,8 @@ def chatbot(question):
|
|
35 |
# Create the Gradio interface
|
36 |
demo = gr.Interface(
|
37 |
fn=chatbot,
|
38 |
-
inputs=gr.
|
39 |
-
outputs=gr.
|
40 |
)
|
41 |
|
42 |
# Launch the interface
|
|
|
35 |
# Create the Gradio interface
|
36 |
demo = gr.Interface(
|
37 |
fn=chatbot,
|
38 |
+
inputs=gr.Textbox(lines=2, label="Question"),
|
39 |
+
outputs=gr.Textbox(label="Answer")
|
40 |
)
|
41 |
|
42 |
# Launch the interface
|