Spaces:
Sleeping
Sleeping
Hecheng0625
commited on
Commit
·
173e528
1
Parent(s):
acb20c6
Update app.py
Browse files
app.py
CHANGED
@@ -46,6 +46,7 @@ def ns2_inference(
|
|
46 |
nltk.download('cmudict')
|
47 |
except:
|
48 |
pass
|
|
|
49 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
50 |
|
51 |
os.environ["WORK_DIR"] = "./"
|
|
|
46 |
nltk.download('cmudict')
|
47 |
except:
|
48 |
pass
|
49 |
+
|
50 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
51 |
|
52 |
os.environ["WORK_DIR"] = "./"
|