Spaces:
Runtime error
Runtime error
Commit
·
8ca0641
1
Parent(s):
a6ae805
Update app.py
Browse files
app.py
CHANGED
@@ -37,10 +37,10 @@ def user_query_recommend(query, min_p, max_p):
|
|
37 |
|
38 |
interface = gr.Interface(
|
39 |
user_query_recommend,
|
40 |
-
inputs=[gr.inputs.Textbox(lines=5),
|
41 |
-
gr.inputs.Slider(minimum=10, maximum=1000, default=30, label='Min Price'),
|
42 |
-
gr.inputs.Slider(minimum=30, maximum=1000, default=70, label='Max Price')],
|
43 |
-
outputs=gr.outputs.Dataframe(max_rows=3, overflow_row_behaviour="paginate", type="pandas", label="
|
44 |
title = "Scotch Recommendation",
|
45 |
description = "Looking for scotch recommendations and have some flavours in mind? \nGet recommendations at a preferred price range using semantic search :) ",
|
46 |
examples=[["very sweet with lemons and oranges and marmalades", 10,40],
|
|
|
37 |
|
38 |
interface = gr.Interface(
|
39 |
user_query_recommend,
|
40 |
+
inputs=[gr.inputs.Textbox(lines=5, label = "enter flavour profile"),
|
41 |
+
gr.inputs.Slider(minimum=10, maximum=1000, default=30, label='Min. Price'),
|
42 |
+
gr.inputs.Slider(minimum=30, maximum=1000, default=70, label='Max. Price')],
|
43 |
+
outputs=gr.outputs.Dataframe(max_rows=3, overflow_row_behaviour="paginate", type="pandas", label="Scotch recommendations"),
|
44 |
title = "Scotch Recommendation",
|
45 |
description = "Looking for scotch recommendations and have some flavours in mind? \nGet recommendations at a preferred price range using semantic search :) ",
|
46 |
examples=[["very sweet with lemons and oranges and marmalades", 10,40],
|