Update app.py
Browse files
app.py
CHANGED
|
@@ -68,6 +68,6 @@ with gr.Blocks() as app:
|
|
| 68 |
|
| 69 |
# Step 6: Download button for the final collage as PNG
|
| 70 |
download_button = gr.Button("Download Collage (PNG)")
|
| 71 |
-
download_button.click(create_collage, inputs=[uploaded_files, grid_layout], outputs=
|
| 72 |
|
| 73 |
app.launch(share=True) # Public link to share the app
|
|
|
|
| 68 |
|
| 69 |
# Step 6: Download button for the final collage as PNG
|
| 70 |
download_button = gr.Button("Download Collage (PNG)")
|
| 71 |
+
download_button.click(create_collage, inputs=[uploaded_files, grid_layout], outputs=gr.File(label="Download Collage"))
|
| 72 |
|
| 73 |
app.launch(share=True) # Public link to share the app
|