Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,8 @@ import os
|
|
3 |
import torch
|
4 |
import urllib.request
|
5 |
|
|
|
|
|
6 |
if torch.cuda.is_available():
|
7 |
print("Using GPU")
|
8 |
else:
|
|
|
3 |
import torch
|
4 |
import urllib.request
|
5 |
|
6 |
+
subprocess.run(["pip", "install" , "TTS"], check=True)
|
7 |
+
|
8 |
if torch.cuda.is_available():
|
9 |
print("Using GPU")
|
10 |
else:
|