akhaliq HF staff commited on
Commit
d9b4d82
1 Parent(s): c8fcfda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,4 +36,4 @@ def inference(img):
36
 
37
  return results
38
 
39
- gr.Interface(inference,"image","text").launch()
 
36
 
37
  return results
38
 
39
+ gr.Interface(inference,gr.inputs.Image(type="pil"),"text").launch()