Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ from flax.training.common_utils import shard
|
|
| 7 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
| 8 |
|
| 9 |
pipeline, pipeline_params = FlaxStableDiffusionPipeline.from_pretrained(
|
| 10 |
-
"bguisard/stable-diffusion-nano",
|
| 11 |
dtype=jnp.float16
|
| 12 |
)
|
| 13 |
|
|
@@ -316,4 +316,4 @@ Despite how impressive being able to turn text into image is, beware to the fact
|
|
| 316 |
"""
|
| 317 |
)
|
| 318 |
|
| 319 |
-
block.queue(concurrency_count=
|
|
|
|
| 7 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
| 8 |
|
| 9 |
pipeline, pipeline_params = FlaxStableDiffusionPipeline.from_pretrained(
|
| 10 |
+
"bguisard/stable-diffusion-nano-2-1",
|
| 11 |
dtype=jnp.float16
|
| 12 |
)
|
| 13 |
|
|
|
|
| 316 |
"""
|
| 317 |
)
|
| 318 |
|
| 319 |
+
block.queue(concurrency_count=10).launch(max_threads=150)
|