zlmqi commited on
Commit
2bbbe1b
1 Parent(s): 47d89c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,8 +18,8 @@ def chatbot(input):
18
  messages.append({"role": "assistant", "content": reply})
19
  return reply
20
 
21
- inputs = gr.inputs.Textbox(lines=7, label="Ask questions related to the course.")
22
- outputs = gr.outputs.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.",
 
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.",