leonelhs commited on
Commit
1aa2d69
·
verified ·
1 Parent(s): 6cc6b6b

Update app.py

Browse files

fixing at line 109 gr.inputs.Image(type="filepath"),

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -106,7 +106,7 @@ This is demo TensorFlow SegFormer from 🤗 `transformers` official package. The
106
 
107
  demo = gr.Interface(
108
  sepia,
109
- gr.inputs.Image(type="filepath"),
110
  outputs=["plot"],
111
  examples=["ADE_val_00000001.jpeg"],
112
  allow_flagging="never",
 
106
 
107
  demo = gr.Interface(
108
  sepia,
109
+ gr.Image(type="filepath"),
110
  outputs=["plot"],
111
  examples=["ADE_val_00000001.jpeg"],
112
  allow_flagging="never",