Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -173,6 +173,7 @@ with gr.Blocks(css='''
|
|
173 |
border: none;
|
174 |
outline: none;
|
175 |
padding: 0 .325em;
|
|
|
176 |
z-index: 1;
|
177 |
}
|
178 |
.mood-input input:focus + span {
|
@@ -211,10 +212,10 @@ with gr.Blocks(css='''
|
|
211 |
<input type="text" class="gradio-textbox" label="Mood">
|
212 |
<span></span>
|
213 |
</div>
|
214 |
-
'''
|
215 |
# mood = gr.Textbox(label="Mood", elem_classes=["mood-input"])
|
216 |
-
flavor_association = gr.CheckboxGroup(label="Flavor Association", choices=["Fruity", "Herbal", "Spicy", "Floral", "Nutty", "Woody", "Earthy"]
|
217 |
-
drinking_experience = gr.CheckboxGroup(label="Drinking Experience", choices=["Refreshing", "Warming", "Comforting", "Energizing", "Relaxing"]
|
218 |
|
219 |
with gr.Row():
|
220 |
sweetness = gr.Slider(label="Sweetness", minimum=0, maximum=10, elem_id="slider-sweetness")
|
|
|
173 |
border: none;
|
174 |
outline: none;
|
175 |
padding: 0 .325em;
|
176 |
+
width: 500px;
|
177 |
z-index: 1;
|
178 |
}
|
179 |
.mood-input input:focus + span {
|
|
|
212 |
<input type="text" class="gradio-textbox" label="Mood">
|
213 |
<span></span>
|
214 |
</div>
|
215 |
+
''')
|
216 |
# mood = gr.Textbox(label="Mood", elem_classes=["mood-input"])
|
217 |
+
flavor_association = gr.CheckboxGroup(label="Flavor Association", choices=["Fruity", "Herbal", "Spicy", "Floral", "Nutty", "Woody", "Earthy"])
|
218 |
+
drinking_experience = gr.CheckboxGroup(label="Drinking Experience", choices=["Refreshing", "Warming", "Comforting", "Energizing", "Relaxing"])
|
219 |
|
220 |
with gr.Row():
|
221 |
sweetness = gr.Slider(label="Sweetness", minimum=0, maximum=10, elem_id="slider-sweetness")
|