Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from models.tacotron2 import Tacotron2Wave
|
3 |
model = Tacotron2Wave('pretrained/tacotron2_ar_adv.pth')
|
4 |
-
|
5 |
import re
|
6 |
|
7 |
def clean_text(text):
|
|
|
1 |
import gradio as gr
|
2 |
from models.tacotron2 import Tacotron2Wave
|
3 |
model = Tacotron2Wave('pretrained/tacotron2_ar_adv.pth')
|
4 |
+
model = model.cuda()
|
5 |
import re
|
6 |
|
7 |
def clean_text(text):
|