Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ pipeline, pipeline_params = FlaxStableDiffusionPipeline.from_pretrained(
|
|
8 |
|
9 |
|
10 |
def generate_image(prompt: str, inference_steps: int, prng_seed: int):
|
11 |
-
rng = jax.random.PRNGKey(
|
12 |
|
13 |
prompt_ids = pipeline.prepare_inputs(prompt)
|
14 |
images = pipeline(
|
|
|
8 |
|
9 |
|
10 |
def generate_image(prompt: str, inference_steps: int, prng_seed: int):
|
11 |
+
rng = jax.random.PRNGKey(prng_seed)
|
12 |
|
13 |
prompt_ids = pipeline.prepare_inputs(prompt)
|
14 |
images = pipeline(
|