Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,7 +76,7 @@ with gr.Blocks() as demo:
|
|
| 76 |
gr.Markdown("# 📦 Shipping CSV Generator")
|
| 77 |
gr.Markdown("Click the button below to generate and download a CSV file.")
|
| 78 |
btn = gr.Button("Generate CSV")
|
| 79 |
-
output = gr.File(label="Download your CSV", type="
|
| 80 |
btn.click(fn=download_csv, outputs=output)
|
| 81 |
|
| 82 |
if __name__ == "__main__":
|
|
|
|
| 76 |
gr.Markdown("# 📦 Shipping CSV Generator")
|
| 77 |
gr.Markdown("Click the button below to generate and download a CSV file.")
|
| 78 |
btn = gr.Button("Generate CSV")
|
| 79 |
+
output = gr.File(label="Download your CSV", type="filepath") # FIXED: Changed 'file' to 'filepath'
|
| 80 |
btn.click(fn=download_csv, outputs=output)
|
| 81 |
|
| 82 |
if __name__ == "__main__":
|