hasibzunair commited on
Commit
92bdcd3
β€’
1 Parent(s): 019d85b

change arg type

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2210.009
77
 
78
  gr.Interface(
79
  inference,
80
- gr.inputs.Image(type="file", label="Input Image"),
81
  gr.outputs.Image(type="numpy", label="Predicted Output"),
82
  examples=[
83
  "./sample_images/a.png",
 
77
 
78
  gr.Interface(
79
  inference,
80
+ gr.inputs.Image(type="filepath", label="Input Image"),
81
  gr.outputs.Image(type="numpy", label="Predicted Output"),
82
  examples=[
83
  "./sample_images/a.png",