gojossatoru commited on
Commit
63afc5d
1 Parent(s): 6e15627

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.inputs.Image(type="pil"),
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."