yuvscherbatov
commited on
Commit
•
e2334e5
1
Parent(s):
b7de427
Upload app.py
Browse files
app.py
CHANGED
@@ -6,12 +6,11 @@ Automatically generated by Colaboratory.
|
|
6 |
Original file is located at
|
7 |
https://colab.research.google.com/drive/16MxXQeF3O0htL9eQ61aa6ZxnApGg9TKN
|
8 |
"""
|
9 |
-
|
10 |
import gradio as gr
|
11 |
import numpy as np
|
12 |
import torch
|
13 |
-
|
14 |
-
import sacremoses
|
15 |
from transformers import pipeline, VitsModel, VitsTokenizer
|
16 |
|
17 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
|
|
6 |
Original file is located at
|
7 |
https://colab.research.google.com/drive/16MxXQeF3O0htL9eQ61aa6ZxnApGg9TKN
|
8 |
"""
|
9 |
+
|
10 |
import gradio as gr
|
11 |
import numpy as np
|
12 |
import torch
|
13 |
+
|
|
|
14 |
from transformers import pipeline, VitsModel, VitsTokenizer
|
15 |
|
16 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|