Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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="
|
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,
|