Commit
·
456158b
1
Parent(s):
0aea5c5
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ import gradio as gr
|
|
11 |
import numpy as np
|
12 |
import torch
|
13 |
import sentencepiece
|
14 |
-
|
15 |
from transformers import pipeline, VitsModel, VitsTokenizer
|
16 |
|
17 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
|
|
11 |
import numpy as np
|
12 |
import torch
|
13 |
import sentencepiece
|
14 |
+
import sacremoses
|
15 |
from transformers import pipeline, VitsModel, VitsTokenizer
|
16 |
|
17 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|