KikoDM commited on
Commit
c79a95e
·
1 Parent(s): e9e7980

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -68,7 +68,8 @@ def predict_image(pic):
68
  iface = gr.Interface(
69
  predict_image,
70
  [
71
- gr.inputs.Image(shape=None, image_mode="RGB", invert_colors=False, source="upload", tool="editor", type="numpy", label=None, optional=False)
 
72
  ],
73
 
74
  "text",
 
68
  iface = gr.Interface(
69
  predict_image,
70
  [
71
+ #gr.inputs.Image(shape=None, image_mode="RGB", invert_colors=False, source="upload", tool="editor", type="numpy", label=None, optional=False)
72
+ gr.inputs.Image(source="upload")
73
  ],
74
 
75
  "text",