Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
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)
|