Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -235,7 +235,7 @@ gradio_outputs = [gr.outputs.Image(label='Auto-Detected Mask (From drawn black p
|
|
235 |
examples = [['grass.png', 'grass_with_mask.png', 'a corgi in a field']]
|
236 |
|
237 |
title = "GLIDE Inpaint"
|
238 |
-
description = "[WARNING: Queue times may take
|
239 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2112.10741' target='_blank'>GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models</a> | <a href='https://github.com/openai/glide-text2im' target='_blank'>Github Repo</a></p>"
|
240 |
iface = gr.Interface(fn=inpaint, inputs=gradio_inputs,
|
241 |
outputs=gradio_outputs,
|
|
|
235 |
examples = [['grass.png', 'grass_with_mask.png', 'a corgi in a field']]
|
236 |
|
237 |
title = "GLIDE Inpaint"
|
238 |
+
description = "[WARNING: Queue times may take 4-6 minutes per person if there's no GPU! If there is a GPU, it'll take around 60 seconds] Using GLIDE to inpaint black regions of an input image! Instructions: 1) For the 'Input Image', upload an image. 2) For the 'Input Image with Mask', draw a black-colored mask (either manually with something like Paint, or by using gradio's built-in image editor & add a black-colored shape) IT MUST BE BLACK COLOR, but doesn't have to be rectangular! This is because it auto-detects the mask based on 0 (black) pixel values! 3) For the Conditional Text, type something you'd like to see the black region get filled in with :)"
|
239 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2112.10741' target='_blank'>GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models</a> | <a href='https://github.com/openai/glide-text2im' target='_blank'>Github Repo</a></p>"
|
240 |
iface = gr.Interface(fn=inpaint, inputs=gradio_inputs,
|
241 |
outputs=gradio_outputs,
|