aryrk commited on
Commit
c4716b6
·
1 Parent(s): 7a19824

[fix error]

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ sample_images = [
64
 
65
  iface = gr.Interface(
66
  fn=reflection_removal,
67
- inputs=gr.File(label="Upload Image", type="image"),
68
  outputs=gr.Gallery(label="Results after Reflection Removal"),
69
  title="Reflection Remover with Pix2Pix",
70
  description="Upload images to remove reflections using a Pix2Pix model.",
 
64
 
65
  iface = gr.Interface(
66
  fn=reflection_removal,
67
+ inputs=gr.File(label="Upload Image", type="filepath"),
68
  outputs=gr.Gallery(label="Results after Reflection Removal"),
69
  title="Reflection Remover with Pix2Pix",
70
  description="Upload images to remove reflections using a Pix2Pix model.",