Spaces:
Sleeping
Sleeping
Commit
·
74cdddd
1
Parent(s):
8c546bc
Update app.py
Browse files
app.py
CHANGED
@@ -24,12 +24,6 @@ def chatbot(sentence_builder, history=[]):
|
|
24 |
history.append((sentence_builder, output))
|
25 |
return history, history
|
26 |
|
27 |
-
gr.Interface(fn=chatbot,
|
28 |
-
[
|
29 |
-
gr.Textbox(label="¿A donde queres ir?", lines=1, value="Roma"),
|
30 |
-
gr.Slider(1, 30, value=4),
|
31 |
-
gr.Dropdown(["solo/a", "amigos", "pareja", "familia"]),
|
32 |
-
gr.Dropdown(["puntos turisticos", "museos", "parques", "teatro", "trekking", "playas"], value=["puntos turisticos"], multiselect=True),
|
33 |
-
],
|
34 |
outputs = ["chatbot",'state'],
|
35 |
allow_flagging="manual").launch()
|
|
|
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()
|