Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -100,7 +100,7 @@ def process_gif(gif_file, width, height, lock_ratio):
|
|
100 |
with gr.Blocks() as demo:
|
101 |
gr.Markdown("# GIF Resizer")
|
102 |
gr.Markdown("Upload a GIF, set the desired dimensions, and download the resized version.")
|
103 |
-
|
104 |
with gr.Row():
|
105 |
with gr.Column():
|
106 |
gif_input = gr.File(label="Upload GIF", file_types=[".gif"])
|
@@ -121,7 +121,7 @@ with gr.Blocks() as demo:
|
|
121 |
gif_input.change(
|
122 |
fn=get_gif_info,
|
123 |
inputs=gif_input,
|
124 |
-
outputs=[width_input, height_input, output_info]
|
125 |
)
|
126 |
|
127 |
width_input.change(
|
|
|
100 |
with gr.Blocks() as demo:
|
101 |
gr.Markdown("# GIF Resizer")
|
102 |
gr.Markdown("Upload a GIF, set the desired dimensions, and download the resized version.")
|
103 |
+
msg = gr.Markdown()
|
104 |
with gr.Row():
|
105 |
with gr.Column():
|
106 |
gif_input = gr.File(label="Upload GIF", file_types=[".gif"])
|
|
|
121 |
gif_input.change(
|
122 |
fn=get_gif_info,
|
123 |
inputs=gif_input,
|
124 |
+
outputs=[width_input, height_input, output_info, msg]
|
125 |
)
|
126 |
|
127 |
width_input.change(
|