Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -154,7 +154,7 @@ enc_pipeline_params = jax_utils.replicate(enc_pipeline_params)
|
|
| 154 |
rng = jax.random.PRNGKey(0)
|
| 155 |
num_samples = jax.device_count()
|
| 156 |
prng_seed = jax.random.split(rng, jax.device_count())
|
| 157 |
-
|
| 158 |
|
| 159 |
def infer(prompt, negative_prompt, image, model_type="Standard"):
|
| 160 |
prompts = num_samples * [prompt]
|
|
|
|
| 154 |
rng = jax.random.PRNGKey(0)
|
| 155 |
num_samples = jax.device_count()
|
| 156 |
prng_seed = jax.random.split(rng, jax.device_count())
|
| 157 |
+
memory = psutil.virtual_memory()
|
| 158 |
|
| 159 |
def infer(prompt, negative_prompt, image, model_type="Standard"):
|
| 160 |
prompts = num_samples * [prompt]
|