GageWeike commited on
Commit
3d4e966
1 Parent(s): 6f31c4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,8 +21,8 @@ def chat_with_robot(inputs):
21
 
22
  iface = gr.Interface(
23
  fn=chat_with_robot,
24
- inputs=gr.TextInput(prompt="You:"),
25
- outputs=gr.Textbox(prompt="Bot:"),
26
  live=True,
27
  title="Chat with Robot",
28
  description="Type 'exit' to end the conversation.",
 
21
 
22
  iface = gr.Interface(
23
  fn=chat_with_robot,
24
+ inputs=gr.inputs.TextInput(prompt="You:"),
25
+ outputs=gr.outputs.Textbox(prompt="Bot:"),
26
  live=True,
27
  title="Chat with Robot",
28
  description="Type 'exit' to end the conversation.",