Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,8 +18,8 @@ def chatbot(input):
|
|
18 |
messages.append({"role": "assistant", "content": reply})
|
19 |
return reply
|
20 |
|
21 |
-
inputs = gr.
|
22 |
-
outputs = gr.
|
23 |
|
24 |
iface = gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title="Virtual TA",
|
25 |
description="This is a prototype of learning assistant designed for MIS 320 online section.",
|
|
|
18 |
messages.append({"role": "assistant", "content": reply})
|
19 |
return reply
|
20 |
|
21 |
+
inputs = gr.Textbox(lines=7, label="Ask questions related to the course.")
|
22 |
+
outputs = gr.Textbox(label="Reply")
|
23 |
|
24 |
iface = gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title="Virtual TA",
|
25 |
description="This is a prototype of learning assistant designed for MIS 320 online section.",
|