cr8 commited on
Commit
79444a5
·
verified ·
1 Parent(s): 9f73593

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=output)
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