Spaces:
Runtime error
Runtime error
Update test.py
Browse files
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")
|
| 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 |
|