Spaces:
Runtime error

zlmqi commited on
Commit
5cc7076
·
verified ·
1 Parent(s): 1f1ef9d

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +4 -3
test.py CHANGED
@@ -21,8 +21,9 @@ def chatbot(input):
21
  inputs = gr.inputs.Textbox(lines=7, label="Ask questions related to the course.")
22
  outputs = gr.outputs.Textbox(label="Reply")
23
 
24
- 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.",
26
- theme="compact").launch(inline=True)
27
-
 
28
 
 
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.",
26
+ theme="compact")
27
+
28
+ iface.launch(inline=True)
29