Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ global text_encoder
|
|
31 |
global tokenizer
|
32 |
global noise_scheduler
|
33 |
global network
|
34 |
-
device = "cuda
|
35 |
#generator = torch.Generator(device=device)
|
36 |
|
37 |
models_path = snapshot_download(repo_id="Snapchat/w2w")
|
|
|
31 |
global tokenizer
|
32 |
global noise_scheduler
|
33 |
global network
|
34 |
+
device = "cuda"
|
35 |
#generator = torch.Generator(device=device)
|
36 |
|
37 |
models_path = snapshot_download(repo_id="Snapchat/w2w")
|