Spaces:
Runtime error
Runtime error
ZachNagengast
commited on
Commit
•
5f6ce43
1
Parent(s):
3300b67
Add default output as example
Browse files
app.py
CHANGED
@@ -195,7 +195,7 @@ with gr.Blocks() as app:
|
|
195 |
border_color_dropdown = gr.Dropdown(choices=["Black", "White", "Red", "Green", "Blue"], value="White", label="Border Color")
|
196 |
border_size_slider = gr.Slider(minimum=0, maximum=100, step=5, value=10, label="Border Size")
|
197 |
with gr.Column():
|
198 |
-
result_image = gr.Image(label="Generated Grid")
|
199 |
|
200 |
# Use .change() method to listen for changes in any of the controls
|
201 |
control_image.upload(load_and_store_frames, inputs=[control_image, grid_x_slider, grid_y_slider], outputs=[gif_details, video_preview])
|
|
|
195 |
border_color_dropdown = gr.Dropdown(choices=["Black", "White", "Red", "Green", "Blue"], value="White", label="Border Color")
|
196 |
border_size_slider = gr.Slider(minimum=0, maximum=100, step=5, value=10, label="Border Size")
|
197 |
with gr.Column():
|
198 |
+
result_image = gr.Image(label="Generated Grid", value="https://i.imgur.com/fYrBwbd.png")
|
199 |
|
200 |
# Use .change() method to listen for changes in any of the controls
|
201 |
control_image.upload(load_and_store_frames, inputs=[control_image, grid_x_slider, grid_y_slider], outputs=[gif_details, video_preview])
|