Spaces:
Running
Running
Ruslan Magana Vsevolodovna
commited on
Commit
·
d015fcd
1
Parent(s):
1708b8b
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,8 +66,8 @@ def get_output_video(text):
|
|
| 66 |
is_verbose=True,
|
| 67 |
#dtype=torch.float16 if fp16 else torch.float32
|
| 68 |
dtype=torch.float16,
|
| 69 |
-
device='cuda'
|
| 70 |
-
)
|
| 71 |
|
| 72 |
image = model.generate_image(
|
| 73 |
text,
|
|
|
|
| 66 |
is_verbose=True,
|
| 67 |
#dtype=torch.float16 if fp16 else torch.float32
|
| 68 |
dtype=torch.float16,
|
| 69 |
+
device='cpu' #'cuda'
|
| 70 |
+
)
|
| 71 |
|
| 72 |
image = model.generate_image(
|
| 73 |
text,
|