Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,9 +68,12 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="blue", secondary_hue="gray")) a
|
|
| 68 |
)
|
| 69 |
|
| 70 |
# Banner Image
|
| 71 |
-
|
| 72 |
-
|
| 73 |
|
|
|
|
|
|
|
|
|
|
| 74 |
# Ingredient input and output with borders and padding for more contrast
|
| 75 |
with gr.Row():
|
| 76 |
with gr.Column():
|
|
@@ -159,6 +162,10 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="blue", secondary_hue="gray")) a
|
|
| 159 |
background-color: #DDDDDD;
|
| 160 |
color: #333333;
|
| 161 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 162 |
"""
|
| 163 |
|
| 164 |
# Launch the app
|
|
|
|
| 68 |
)
|
| 69 |
|
| 70 |
# Banner Image
|
| 71 |
+
# with gr.Row():
|
| 72 |
+
# gr.Image("./recipe-generator-banner.png", show_label=False)
|
| 73 |
|
| 74 |
+
with gr.Row():
|
| 75 |
+
gr.Image("./recipe-generator-banner.png", show_label=False, elem_id="banner-image", width="100%")
|
| 76 |
+
|
| 77 |
# Ingredient input and output with borders and padding for more contrast
|
| 78 |
with gr.Row():
|
| 79 |
with gr.Column():
|
|
|
|
| 162 |
background-color: #DDDDDD;
|
| 163 |
color: #333333;
|
| 164 |
}
|
| 165 |
+
#banner-image {
|
| 166 |
+
width: 100%;
|
| 167 |
+
height: auto;
|
| 168 |
+
}
|
| 169 |
"""
|
| 170 |
|
| 171 |
# Launch the app
|