Spaces:
Build error
Build error
Commit
·
ea380a0
1
Parent(s):
f51ad44
Update app.py
Browse files
app.py
CHANGED
@@ -138,7 +138,8 @@ 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 |
iface = gr.Interface(
|
144 |
fn=process_images_and_statements,
|
|
|
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", type="csv", default="Empty file")
|
142 |
+
|
143 |
|
144 |
iface = gr.Interface(
|
145 |
fn=process_images_and_statements,
|