tywei08 commited on
Commit
e204292
·
verified ·
1 Parent(s): 3791c01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -3
app.py CHANGED
@@ -177,13 +177,19 @@ with gr.Blocks(css='''
177
  ''') as demo:
178
 
179
  with gr.Row():
180
- gr.HTML("""
181
  <h2 style='text-align: center; color: white;'>MoodShaker Cocktail Generator</h2>
182
  <p style='text-align: center; color: white;'>Enter your preferences and let AI create a unique cocktail recipe for you!</p>
183
- """)
184
 
185
  with gr.Row():
186
- mood = gr.Textbox(label="Mood", elem_classes=["mood-input"])
 
 
 
 
 
 
187
  flavor_association = gr.CheckboxGroup(label="Flavor Association", choices=["Fruity", "Herbal", "Spicy", "Floral", "Nutty", "Woody", "Earthy"])
188
  drinking_experience = gr.CheckboxGroup(label="Drinking Experience", choices=["Refreshing", "Warming", "Comforting", "Energizing", "Relaxing"])
189
 
 
177
  ''') as demo:
178
 
179
  with gr.Row():
180
+ gr.HTML('''
181
  <h2 style='text-align: center; color: white;'>MoodShaker Cocktail Generator</h2>
182
  <p style='text-align: center; color: white;'>Enter your preferences and let AI create a unique cocktail recipe for you!</p>
183
+ ''')
184
 
185
  with gr.Row():
186
+ mood = gr.HTML('''
187
+ <div class="mood-input">
188
+ <input type="text" class="gradio-textbox" label="Mood">
189
+ <span></span>
190
+ </div>
191
+ ''')
192
+ # mood = gr.Textbox(label="Mood", elem_classes=["mood-input"])
193
  flavor_association = gr.CheckboxGroup(label="Flavor Association", choices=["Fruity", "Herbal", "Spicy", "Floral", "Nutty", "Woody", "Earthy"])
194
  drinking_experience = gr.CheckboxGroup(label="Drinking Experience", choices=["Refreshing", "Warming", "Comforting", "Energizing", "Relaxing"])
195