sayedM commited on
Commit
621d720
·
1 Parent(s): f90f439

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ image_input = gr.inputs.Image() # Adjust the shape according to your requiremen
64
  # Define the output components for Gradio
65
  output_components = []
66
  for label in ["First Name", "Second Name", "Address 1", "Address 2", "National ID Number", "Time of Response", "Request Info"]:
67
- output_components.append(gr.outputs.Text(label=label))
68
 
69
  # Launch the Gradio interface
70
  gr.Interface(fn=get_results, inputs=image_input, outputs=output_components).launch(share=True)
 
64
  # Define the output components for Gradio
65
  output_components = []
66
  for label in ["First Name", "Second Name", "Address 1", "Address 2", "National ID Number", "Time of Response", "Request Info"]:
67
+ output_components.append(gr.Textbox(label=label))
68
 
69
  # Launch the Gradio interface
70
  gr.Interface(fn=get_results, inputs=image_input, outputs=output_components).launch(share=True)