Zeyadd-Mostaffa commited on
Commit
984647e
·
verified ·
1 Parent(s): 3378d00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def predict(image_path): # receives filepath from gr.Image(type="filepath")
36
 
37
  iface = gr.Interface(
38
  fn=predict,
39
- inputs=gr.Image(type="filepath", name="image"), # ✅ name must match Flask
40
  outputs="text",
41
  allow_flagging="never"
42
  )
 
36
 
37
  iface = gr.Interface(
38
  fn=predict,
39
+ inputs=gr.Image(type="filepath"),
40
  outputs="text",
41
  allow_flagging="never"
42
  )