Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -152,7 +152,7 @@ with gr.Blocks(css=css_styles) as MoodShaker:
|
|
152 |
["Relaxed", 4, 6, 0, 5, ["Herbal", "Woody"], ["Comforting"], 2, "", "Extra mint"],
|
153 |
["Adventurous", 5, 5, 5, 0, ["Spicy", "Earthy"], ["Refreshing"], 8, "Shellfish", "Make it a double"]],
|
154 |
inputs=[mood, sweetness, sour, savory, bitter, flavor_association, drinking_experience, soberness_level, allergies, additional_requests],
|
155 |
-
outputs=[output_recipe, play_button], fn=on_generate_click)
|
156 |
|
157 |
play_button.click(fn=play_music, inputs=[], outputs=[background_music, background_music])
|
158 |
|
|
|
152 |
["Relaxed", 4, 6, 0, 5, ["Herbal", "Woody"], ["Comforting"], 2, "", "Extra mint"],
|
153 |
["Adventurous", 5, 5, 5, 0, ["Spicy", "Earthy"], ["Refreshing"], 8, "Shellfish", "Make it a double"]],
|
154 |
inputs=[mood, sweetness, sour, savory, bitter, flavor_association, drinking_experience, soberness_level, allergies, additional_requests],
|
155 |
+
outputs=[output_recipe, play_button], fn=on_generate_click, elem_id="example-box")
|
156 |
|
157 |
play_button.click(fn=play_music, inputs=[], outputs=[background_music, background_music])
|
158 |
|