Spaces:
Build error
Build error
Commit
·
5082b0f
1
Parent(s):
ea380a0
Update app.py
Browse files
app.py
CHANGED
@@ -138,7 +138,7 @@ def process_images_and_statements(image):
|
|
138 |
# Gradio interface
|
139 |
image_input = gr.inputs.Image()
|
140 |
output_df = gr.outputs.Dataframe(type="pandas", label="Results") # <--- Use "pandas" type for DataFrame output
|
141 |
-
output_csv = gr.outputs.File(label="Download CSV",
|
142 |
|
143 |
|
144 |
iface = gr.Interface(
|
|
|
138 |
# Gradio interface
|
139 |
image_input = gr.inputs.Image()
|
140 |
output_df = gr.outputs.Dataframe(type="pandas", label="Results") # <--- Use "pandas" type for DataFrame output
|
141 |
+
output_csv = gr.outputs.File(label="Download CSV", mime_types=["text/csv"], default="Results.csv", extension=".csv")
|
142 |
|
143 |
|
144 |
iface = gr.Interface(
|