nielsr HF staff commited on
Commit
55896ac
1 Parent(s): b18c116

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2112.100
43
  examples = [["example_image.png", "a glass", "a cup"]]
44
 
45
  interface = gr.Interface(fn=process_image,
46
- inputs=[gr.Image(type="pil"), gr.Textbox(label="text"), gr.Textbox(label="prompt")],
47
  outputs=gr.Image(type="pil"),
48
  title=title,
49
  description=description,
43
  examples = [["example_image.png", "a glass", "a cup"]]
44
 
45
  interface = gr.Interface(fn=process_image,
46
+ inputs=[gr.Image(type="pil"), gr.Textbox(label="What's the thing you want to replace?"), gr.Textbox(label="What do you want as replacement?")],
47
  outputs=gr.Image(type="pil"),
48
  title=title,
49
  description=description,