tywei08 commited on
Commit
ddc82db
·
verified ·
1 Parent(s): 04e6d96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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
- ''', scale=1)
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"], scale=1)
217
- drinking_experience = gr.CheckboxGroup(label="Drinking Experience", choices=["Refreshing", "Warming", "Comforting", "Energizing", "Relaxing"], scale=1)
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")