Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -195,6 +195,10 @@ css='''
|
|
| 195 |
#strip, #gif{min-height: 50px}
|
| 196 |
'''
|
| 197 |
examples = [["winter", "summer", 1.25, "a dog in the park"]]
|
|
|
|
|
|
|
|
|
|
|
|
|
| 198 |
with gr.Blocks(css=css) as demo:
|
| 199 |
|
| 200 |
gr.HTML(intro)
|
|
@@ -230,15 +234,15 @@ with gr.Blocks(css=css) as demo:
|
|
| 230 |
)
|
| 231 |
with gr.Column():
|
| 232 |
with gr.Group(elem_id="group"):
|
| 233 |
-
post_generation_image
|
| 234 |
-
post_generation_slider
|
| 235 |
#y = gr.Slider(minimum=-10, value=0, maximum=10, elem_id="y", interactive=False)
|
| 236 |
with gr.Row():
|
| 237 |
with gr.Column(scale=4, min_width=50):
|
| 238 |
-
image_seq
|
| 239 |
|
| 240 |
with gr.Column(scale=2, min_width=50):
|
| 241 |
-
output_image
|
| 242 |
# with gr.Row():
|
| 243 |
# generate_butt = gr.Button("generate")
|
| 244 |
|
|
|
|
| 195 |
#strip, #gif{min-height: 50px}
|
| 196 |
'''
|
| 197 |
examples = [["winter", "summer", 1.25, "a dog in the park"]]
|
| 198 |
+
image_seq = gr.Image(label="Strip", elem_id="strip")
|
| 199 |
+
output_image = gr.Image(label="Gif", elem_id="gif")
|
| 200 |
+
post_generation_image = gr.Image(label="Generated Images")
|
| 201 |
+
post_generation_slider = gr.Slider(minimum=-2, maximum=2, value=0, step=1, interactive=False)
|
| 202 |
with gr.Blocks(css=css) as demo:
|
| 203 |
|
| 204 |
gr.HTML(intro)
|
|
|
|
| 234 |
)
|
| 235 |
with gr.Column():
|
| 236 |
with gr.Group(elem_id="group"):
|
| 237 |
+
post_generation_image.render()
|
| 238 |
+
post_generation_slider.render()
|
| 239 |
#y = gr.Slider(minimum=-10, value=0, maximum=10, elem_id="y", interactive=False)
|
| 240 |
with gr.Row():
|
| 241 |
with gr.Column(scale=4, min_width=50):
|
| 242 |
+
image_seq.render()
|
| 243 |
|
| 244 |
with gr.Column(scale=2, min_width=50):
|
| 245 |
+
output_image.render()
|
| 246 |
# with gr.Row():
|
| 247 |
# generate_butt = gr.Button("generate")
|
| 248 |
|