iamrobotbear commited on
Commit
afc0e12
·
1 Parent(s): bbf9e08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -109,7 +109,8 @@ def process_images_and_statements(image, file_name):
109
  return results_df, csv_results
110
 
111
  # Gradio interface with File input to receive both the image and the file name
112
- image_input = gr.inputs.File(type="image", label="Upload Image")
 
113
  output_df = gr.outputs.Dataframe(type="pandas", label="Results")
114
  output_csv = gr.outputs.File(label="Download CSV")
115
 
 
109
  return results_df, csv_results
110
 
111
  # Gradio interface with File input to receive both the image and the file name
112
+ #image_input = gr.inputs.File(type="image", label="Upload Image")
113
+ image_input = gr.inputs.File(type="file", accept="image/*", label="Upload Image", multiple=True)
114
  output_df = gr.outputs.Dataframe(type="pandas", label="Results")
115
  output_csv = gr.outputs.File(label="Download CSV")
116