Donlapark commited on
Commit
fd55f1c
·
verified ·
1 Parent(s): 23983a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def predict(image):
17
  # Define the Gradio interface
18
  iface = gr.Interface(
19
  fn=predict,
20
- inputs=gr.inputs.Image(type="pil"),
21
  outputs="text",
22
  title="Thai Image-to-Text Prediction",
23
  description="Upload an image, and the model will predict the text in the image.",
 
17
  # Define the Gradio interface
18
  iface = gr.Interface(
19
  fn=predict,
20
+ inputs=gr.Image(type="pil"),
21
  outputs="text",
22
  title="Thai Image-to-Text Prediction",
23
  description="Upload an image, and the model will predict the text in the image.",