Update app.py
Browse files
app.py
CHANGED
|
@@ -82,6 +82,7 @@ PAGE_LINK
|
|
| 82 |
css="""
|
| 83 |
.img_box{
|
| 84 |
display: flex;
|
|
|
|
| 85 |
flex-direction: column;
|
| 86 |
flex-flow: unset;
|
| 87 |
flex-wrap: wrap;
|
|
@@ -542,7 +543,7 @@ with gr.Blocks() as app:
|
|
| 542 |
fps_slider = gr.Slider(minimum=1, maximum=60, value=10, step=1, label="Animation FPS")
|
| 543 |
loop_checkbox = gr.Checkbox(label="Loop Animation", value=True)
|
| 544 |
sdo_gif=gr.Button("Make GIF")
|
| 545 |
-
sdo_gif_html=gr.HTML(
|
| 546 |
sdo_gif.click(make_animation_new,[url_list, fps_slider, loop_checkbox],sdo_gif_html)
|
| 547 |
sdo_html=gr.HTML()
|
| 548 |
|
|
|
|
| 82 |
css="""
|
| 83 |
.img_box{
|
| 84 |
display: flex;
|
| 85 |
+
height: fit-content;
|
| 86 |
flex-direction: column;
|
| 87 |
flex-flow: unset;
|
| 88 |
flex-wrap: wrap;
|
|
|
|
| 543 |
fps_slider = gr.Slider(minimum=1, maximum=60, value=10, step=1, label="Animation FPS")
|
| 544 |
loop_checkbox = gr.Checkbox(label="Loop Animation", value=True)
|
| 545 |
sdo_gif=gr.Button("Make GIF")
|
| 546 |
+
sdo_gif_html=gr.HTML()
|
| 547 |
sdo_gif.click(make_animation_new,[url_list, fps_slider, loop_checkbox],sdo_gif_html)
|
| 548 |
sdo_html=gr.HTML()
|
| 549 |
|