hungchiayu1 commited on
Commit
88895ae
1 Parent(s): a117171

fixed bugs

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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