Spaces:
Runtime error
Runtime error
Commit
·
e926728
1
Parent(s):
58e2d1d
Update app.py
Browse files
app.py
CHANGED
|
@@ -146,8 +146,8 @@ def checkbox_block():
|
|
| 146 |
return checkbox
|
| 147 |
|
| 148 |
def infer(text):
|
| 149 |
-
with autocast("cuda"):
|
| 150 |
-
|
| 151 |
[text]*2,
|
| 152 |
num_inference_steps=50,
|
| 153 |
guidance_scale=7.5
|
|
|
|
| 146 |
return checkbox
|
| 147 |
|
| 148 |
def infer(text):
|
| 149 |
+
#with autocast("cuda"):
|
| 150 |
+
images_list = pipe(
|
| 151 |
[text]*2,
|
| 152 |
num_inference_steps=50,
|
| 153 |
guidance_scale=7.5
|