Spaces:
Building
Building
gojossatoru
commited on
Commit
•
63afc5d
1
Parent(s):
6e15627
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def process_image(image):
|
|
74 |
# Gradio interface
|
75 |
gr_interface = gr.Interface(
|
76 |
fn=process_image,
|
77 |
-
inputs=gr.
|
78 |
outputs="text",
|
79 |
title="Image Upload",
|
80 |
description="Upload an image to get information about the payment amount."
|
|
|
74 |
# Gradio interface
|
75 |
gr_interface = gr.Interface(
|
76 |
fn=process_image,
|
77 |
+
inputs=gr.Image(type="pil"), # Updated to use gr.Image
|
78 |
outputs="text",
|
79 |
title="Image Upload",
|
80 |
description="Upload an image to get information about the payment amount."
|