Update app.py
Browse files
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.",
|