Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -134,7 +134,7 @@ intro = """
|
|
| 134 |
</p>
|
| 135 |
"""
|
| 136 |
css='''
|
| 137 |
-
#strip, #
|
| 138 |
#strip img{object-fit: cover}
|
| 139 |
'''
|
| 140 |
examples = [["a dog in the park", "winter", "summer", 1.5], ["a house", "USA suburb", "Europe", 2.5], ["a tomato", "rotten", "super fresh", 2.5]]
|
|
@@ -169,7 +169,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 169 |
|
| 170 |
with gr.Column(scale=2, min_width=50):
|
| 171 |
with gr.Group(elem_id="group"):
|
| 172 |
-
post_generation_image = gr.Image(label="Generated Images", type="filepath")
|
| 173 |
post_generation_slider = gr.Slider(minimum=-10, maximum=10, value=0, step=1, label="From 1st to 2nd direction")
|
| 174 |
|
| 175 |
with gr.Accordion(label="Advanced options", open=False):
|
|
|
|
| 134 |
</p>
|
| 135 |
"""
|
| 136 |
css='''
|
| 137 |
+
#strip, #interactive{max-height: 170px; min-height: 65px}
|
| 138 |
#strip img{object-fit: cover}
|
| 139 |
'''
|
| 140 |
examples = [["a dog in the park", "winter", "summer", 1.5], ["a house", "USA suburb", "Europe", 2.5], ["a tomato", "rotten", "super fresh", 2.5]]
|
|
|
|
| 169 |
|
| 170 |
with gr.Column(scale=2, min_width=50):
|
| 171 |
with gr.Group(elem_id="group"):
|
| 172 |
+
post_generation_image = gr.Image(label="Generated Images", type="filepath", elem_id="interactive")
|
| 173 |
post_generation_slider = gr.Slider(minimum=-10, maximum=10, value=0, step=1, label="From 1st to 2nd direction")
|
| 174 |
|
| 175 |
with gr.Accordion(label="Advanced options", open=False):
|