Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -155,11 +155,6 @@ def generate(
|
|
155 |
output_type="pil",
|
156 |
).images[0]
|
157 |
|
158 |
-
examples = [
|
159 |
-
"Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
|
160 |
-
"An astronaut riding a green horse",
|
161 |
-
]
|
162 |
-
|
163 |
with gr.Blocks(theme=gr.themes.Soft(), css="style.css") as demo:
|
164 |
gr.HTML(
|
165 |
"<p><center>π For any additional support, join our <a href='https://discord.gg/JprjXpjt9K'>Discord</a></center></p>"
|
@@ -371,6 +366,8 @@ with gr.Blocks(theme=gr.themes.Soft(), css="style.css") as demo:
|
|
371 |
use_img2img,
|
372 |
use_inpainting,
|
373 |
url,
|
|
|
|
|
374 |
],
|
375 |
outputs=result,
|
376 |
api_name="run",
|
|
|
155 |
output_type="pil",
|
156 |
).images[0]
|
157 |
|
|
|
|
|
|
|
|
|
|
|
158 |
with gr.Blocks(theme=gr.themes.Soft(), css="style.css") as demo:
|
159 |
gr.HTML(
|
160 |
"<p><center>π For any additional support, join our <a href='https://discord.gg/JprjXpjt9K'>Discord</a></center></p>"
|
|
|
366 |
use_img2img,
|
367 |
use_inpainting,
|
368 |
url,
|
369 |
+
img_url,
|
370 |
+
mask_url,
|
371 |
],
|
372 |
outputs=result,
|
373 |
api_name="run",
|