hasibzunair commited on
Commit
63aa44f
ยท
1 Parent(s): cbe6be9
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -77,8 +77,8 @@ 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="filepath", label="Input Image"),
81
- gr.outputs.Image(type="filepath", label="Predicted Output"),
82
  examples=[
83
  "./sample_images/a.png",
84
  "./sample_images/b.png",
 
77
 
78
  gr.Interface(
79
  inference,
80
+ gr.inputs.Image(type="file", label="Input Image"),
81
+ gr.outputs.Image(type="file", label="Predicted Output"),
82
  examples=[
83
  "./sample_images/a.png",
84
  "./sample_images/b.png",