Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,8 +89,8 @@ def generate(
|
|
| 89 |
) -> PIL.Image.Image:
|
| 90 |
torch.manual_seed(seed)
|
| 91 |
|
| 92 |
-
if width > 512 or height > 512:
|
| 93 |
-
|
| 94 |
|
| 95 |
return pipe(
|
| 96 |
prompt=prompt,
|
|
|
|
| 89 |
) -> PIL.Image.Image:
|
| 90 |
torch.manual_seed(seed)
|
| 91 |
|
| 92 |
+
# if width > 512 or height > 512:
|
| 93 |
+
# num_images = 2
|
| 94 |
|
| 95 |
return pipe(
|
| 96 |
prompt=prompt,
|