Spaces:
Running
on
Zero
Running
on
Zero
Bobby
commited on
Commit
ยท
3f44b0e
1
Parent(s):
3253b8b
examples
Browse files- anime_app.py +1 -1
anime_app.py
CHANGED
@@ -249,7 +249,6 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
249 |
label="Description",
|
250 |
placeholder="Leave empty for something spicy ๐",
|
251 |
)
|
252 |
-
gr.Examples(examples=["./img/peleton.webp", "./img/peleton2.webp", "./img/peleton_anime.webp", "./img/peleont2_anime.webp", "./img/miku.webp"], inputs=input)
|
253 |
# input image
|
254 |
with gr.Row():
|
255 |
with gr.Column():
|
@@ -286,6 +285,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
286 |
guidance_scale,
|
287 |
seed,
|
288 |
]
|
|
|
289 |
|
290 |
@gr.on(triggers=[image.upload], inputs=config, outputs=[result])
|
291 |
def auto_process_image(image, prompt, a_prompt, n_prompt, num_images, image_resolution, preprocess_resolution, num_steps, guidance_scale, seed):
|
|
|
249 |
label="Description",
|
250 |
placeholder="Leave empty for something spicy ๐",
|
251 |
)
|
|
|
252 |
# input image
|
253 |
with gr.Row():
|
254 |
with gr.Column():
|
|
|
285 |
guidance_scale,
|
286 |
seed,
|
287 |
]
|
288 |
+
gr.Examples(examples=["./img/peleton.webp", "./img/peleton2.webp", "./img/peleton_anime.webp", "./img/peleont2_anime.webp", "./img/miku.webp"], inputs=image)
|
289 |
|
290 |
@gr.on(triggers=[image.upload], inputs=config, outputs=[result])
|
291 |
def auto_process_image(image, prompt, a_prompt, n_prompt, num_images, image_resolution, preprocess_resolution, num_steps, guidance_scale, seed):
|