Spaces:
Sleeping
Sleeping
Commit
·
d0c6f49
1
Parent(s):
74cdddd
Update app.py
Browse files
app.py
CHANGED
@@ -24,6 +24,6 @@ def chatbot(sentence_builder, history=[]):
|
|
24 |
history.append((sentence_builder, output))
|
25 |
return history, history
|
26 |
|
27 |
-
gr.Interface(fn=chatbot,gr.Textbox(label="¿A donde queres ir?", lines=1, value="Roma"),
|
28 |
outputs = ["chatbot",'state'],
|
29 |
allow_flagging="manual").launch()
|
|
|
24 |
history.append((sentence_builder, output))
|
25 |
return history, history
|
26 |
|
27 |
+
gr.Interface(fn=chatbot, inputs=gr.Textbox(label="¿A donde queres ir?", lines=1, value="Roma"),
|
28 |
outputs = ["chatbot",'state'],
|
29 |
allow_flagging="manual").launch()
|