craftgamesnetwork commited on
Commit
d82dfeb
Β·
verified Β·
1 Parent(s): e3605c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
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",