Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -404,65 +404,5 @@ with gr.Blocks(theme='Hev832/Applio') as blocks:
|
|
| 404 |
concurrency_limit=20
|
| 405 |
)
|
| 406 |
|
| 407 |
-
gr.Examples(
|
| 408 |
-
examples=[
|
| 409 |
-
[
|
| 410 |
-
"https://huggingface.co/",
|
| 411 |
-
"A sky view of a colorful lakes and rivers flowing through the desert",
|
| 412 |
-
"ugly, disfigured, low quality, blurry, nsfw",
|
| 413 |
-
7.5,
|
| 414 |
-
1.3,
|
| 415 |
-
0.9,
|
| 416 |
-
5392011833,
|
| 417 |
-
None,
|
| 418 |
-
None,
|
| 419 |
-
True,
|
| 420 |
-
"DPM++ Karras SDE",
|
| 421 |
-
],
|
| 422 |
-
[
|
| 423 |
-
"https://huggingface.co/",
|
| 424 |
-
"Bright sunshine coming through the cracks of a wet, cave wall of big rocks",
|
| 425 |
-
"ugly, disfigured, low quality, blurry, nsfw",
|
| 426 |
-
7.5,
|
| 427 |
-
1.11,
|
| 428 |
-
0.9,
|
| 429 |
-
2523992465,
|
| 430 |
-
None,
|
| 431 |
-
None,
|
| 432 |
-
True,
|
| 433 |
-
"DPM++ Karras SDE",
|
| 434 |
-
],
|
| 435 |
-
[
|
| 436 |
-
"https://huggingface.co/",
|
| 437 |
-
"Sky view of highly aesthetic, ancient greek thermal baths in beautiful nature",
|
| 438 |
-
"ugly, disfigured, low quality, blurry, nsfw",
|
| 439 |
-
7.5,
|
| 440 |
-
1.5,
|
| 441 |
-
0.9,
|
| 442 |
-
2523992465,
|
| 443 |
-
None,
|
| 444 |
-
None,
|
| 445 |
-
True,
|
| 446 |
-
"DPM++ Karras SDE",
|
| 447 |
-
],
|
| 448 |
-
],
|
| 449 |
-
fn=inference,
|
| 450 |
-
inputs=[
|
| 451 |
-
qr_code_content,
|
| 452 |
-
prompt,
|
| 453 |
-
negative_prompt,
|
| 454 |
-
guidance_scale,
|
| 455 |
-
controlnet_conditioning_scale,
|
| 456 |
-
strength,
|
| 457 |
-
seed,
|
| 458 |
-
init_image,
|
| 459 |
-
qr_code_image,
|
| 460 |
-
use_qr_code_as_init_image,
|
| 461 |
-
sampler,
|
| 462 |
-
],
|
| 463 |
-
outputs=[result_image],
|
| 464 |
-
cache_examples=False,
|
| 465 |
-
)
|
| 466 |
-
|
| 467 |
blocks.queue(max_size=20,api_open=False)
|
| 468 |
blocks.launch(share=bool(os.environ.get("SHARE", False)), show_api=True)
|
|
|
|
| 404 |
concurrency_limit=20
|
| 405 |
)
|
| 406 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 407 |
blocks.queue(max_size=20,api_open=False)
|
| 408 |
blocks.launch(share=bool(os.environ.get("SHARE", False)), show_api=True)
|