Ahsen Khaliq commited on
Commit
2a86230
1 Parent(s): 8b256ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def inference(img):
59
 
60
  return preds
61
 
62
- inputs = gr.inputs.Image(type='pil')
63
  outputs = gr.outputs.Textbox(label="Output")
64
 
65
  title = "SWAG"
59
 
60
  return preds
61
 
62
+ inputs = gr.inputs.Image(type='filepath')
63
  outputs = gr.outputs.Textbox(label="Output")
64
 
65
  title = "SWAG"