Spaces:
Sleeping
Sleeping
dtrejopizzo
commited on
Commit
·
ab84625
1
Parent(s):
cbcd5da
Update app.py
Browse files
app.py
CHANGED
@@ -25,12 +25,16 @@ def chatbot(input, history=[]):
|
|
25 |
history.append((input, output))
|
26 |
return history, history
|
27 |
|
28 |
-
gr.Interface(
|
29 |
[
|
30 |
gr.Textbox(label="¿A donde queres ir?", lines=1, value="Roma"),
|
31 |
gr.Slider(1, 30, value=4),
|
32 |
gr.Dropdown(["solo/a", "amigos", "pareja", "familia"]),
|
33 |
gr.Dropdown(["puntos turisticos", "museos", "parques", "teatro", "trekking", "playas"], value=["puntos turisticos"], multiselect=True),
|
34 |
],
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
|
|
|
25 |
history.append((input, output))
|
26 |
return history, history
|
27 |
|
28 |
+
demo = gr.Interface(sentence_builder,
|
29 |
[
|
30 |
gr.Textbox(label="¿A donde queres ir?", lines=1, value="Roma"),
|
31 |
gr.Slider(1, 30, value=4),
|
32 |
gr.Dropdown(["solo/a", "amigos", "pareja", "familia"]),
|
33 |
gr.Dropdown(["puntos turisticos", "museos", "parques", "teatro", "trekking", "playas"], value=["puntos turisticos"], multiselect=True),
|
34 |
],
|
35 |
+
"text",
|
36 |
+
)
|
37 |
+
|
38 |
+
if __name__ == "__main__":
|
39 |
+
demo.launch()
|
40 |
+
quantity
|