Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def get_model(name_model):
|
|
| 26 |
zero = torch.Tensor([0]).cuda()
|
| 27 |
print(zero.device) # <-- 'cpu' 🤔
|
| 28 |
import torch
|
| 29 |
-
@spaces.GPU
|
| 30 |
def modelspeech(text,name_model):
|
| 31 |
|
| 32 |
|
|
|
|
| 26 |
zero = torch.Tensor([0]).cuda()
|
| 27 |
print(zero.device) # <-- 'cpu' 🤔
|
| 28 |
import torch
|
| 29 |
+
@spaces.GPU()
|
| 30 |
def modelspeech(text,name_model):
|
| 31 |
|
| 32 |
|