Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -135,8 +135,18 @@ with gr.Blocks(css='''
|
|
135 |
border-radius: 5px;
|
136 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
137 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
.custom-input2 {
|
139 |
-
background:
|
140 |
color: #333; /* Text color */
|
141 |
padding: 10px; /* Padding inside the input */
|
142 |
border: 20px solid #FFDA42; /* Initial border color, change as needed */
|
@@ -281,7 +291,7 @@ with gr.Blocks(css='''
|
|
281 |
# flavor_association = gr.CheckboxGroup(label="Flavor Association", choices=["Fruity", "Herbal", "Spicy", "Floral", "Nutty", "Woody", "Earthy"])
|
282 |
# drinking_experience = gr.CheckboxGroup(label="Drinking Experience", choices=["Refreshing", "Warming", "Comforting", "Energizing", "Relaxing"])
|
283 |
with gr.Row():
|
284 |
-
allergies = gr.Textbox(label="Allergies", scale=2, elem_classes=["custom-
|
285 |
additional_requests = gr.Textbox(label="Anything else you would like to address", scale=2, elem_classes=["custom-input2"])
|
286 |
generate_button = gr.Button("Generate Your Cocktail Recipe", scale=1, elem_classes=["generate-button"])
|
287 |
|
|
|
135 |
border-radius: 5px;
|
136 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
137 |
}
|
138 |
+
.custom-input1 {
|
139 |
+
background: linear-gradient(to right, rgba(232, 243, 214, 0.8), rgba(255, 220, 169, 0.8));
|
140 |
+
color: #333; /* Text color */
|
141 |
+
padding: 10px; /* Padding inside the input */
|
142 |
+
border: 20px solid #FFDA42; /* Initial border color, change as needed */
|
143 |
+
border-color: #FFDA42
|
144 |
+
border-radius: 5px; /* Rounded corners */
|
145 |
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
|
146 |
+
transition: all 0.3s ease; /* Smooth transition for interactions */
|
147 |
+
}
|
148 |
.custom-input2 {
|
149 |
+
background: linear-gradient(to right, rgba(255, 220, 169, 0.8), rgba(250, 171, 120, 0.8));
|
150 |
color: #333; /* Text color */
|
151 |
padding: 10px; /* Padding inside the input */
|
152 |
border: 20px solid #FFDA42; /* Initial border color, change as needed */
|
|
|
291 |
# flavor_association = gr.CheckboxGroup(label="Flavor Association", choices=["Fruity", "Herbal", "Spicy", "Floral", "Nutty", "Woody", "Earthy"])
|
292 |
# drinking_experience = gr.CheckboxGroup(label="Drinking Experience", choices=["Refreshing", "Warming", "Comforting", "Energizing", "Relaxing"])
|
293 |
with gr.Row():
|
294 |
+
allergies = gr.Textbox(label="Allergies", scale=2, elem_classes=["custom-input1"])
|
295 |
additional_requests = gr.Textbox(label="Anything else you would like to address", scale=2, elem_classes=["custom-input2"])
|
296 |
generate_button = gr.Button("Generate Your Cocktail Recipe", scale=1, elem_classes=["generate-button"])
|
297 |
|