Spaces:
Runtime error
Runtime error
hungchiayu1
commited on
Commit
•
88895ae
1
Parent(s):
a117171
fixed bugs
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ class Tango:
|
|
69 |
|
70 |
# Initialize TANGO
|
71 |
if torch.cuda.is_available():
|
72 |
-
tango = Tango()
|
73 |
else:
|
74 |
tango = Tango(device="cpu")
|
75 |
|
|
|
69 |
|
70 |
# Initialize TANGO
|
71 |
if torch.cuda.is_available():
|
72 |
+
tango = Tango(device="cuda")
|
73 |
else:
|
74 |
tango = Tango(device="cpu")
|
75 |
|