Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,11 @@ def generate_cached_image(prompt, width, height, seed, model_name):
|
|
| 33 |
"width": width,
|
| 34 |
"height": height,
|
| 35 |
"seed": seed
|
| 36 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
}
|
| 38 |
|
| 39 |
try:
|
|
|
|
| 33 |
"width": width,
|
| 34 |
"height": height,
|
| 35 |
"seed": seed
|
| 36 |
+
},
|
| 37 |
+
"width": width,
|
| 38 |
+
"height": height,
|
| 39 |
+
"seed": seed,
|
| 40 |
+
# generator=torch.Generator("cpu").manual_seed(0)
|
| 41 |
}
|
| 42 |
|
| 43 |
try:
|