Spaces:
Running
Running
Fix gradio import
Browse files
app.py
CHANGED
@@ -3,6 +3,8 @@ import torchaudio
|
|
3 |
import spaces
|
4 |
from typing import List
|
5 |
import soundfile as sf
|
|
|
|
|
6 |
|
7 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
8 |
knn_vc = torch.hub.load('bshall/knn-vc', 'knn_vc', prematched=True, trust_repo=True, pretrained=True, device=device)
|
|
|
3 |
import spaces
|
4 |
from typing import List
|
5 |
import soundfile as sf
|
6 |
+
import gradio as gr
|
7 |
+
|
8 |
|
9 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
10 |
knn_vc = torch.hub.load('bshall/knn-vc', 'knn_vc', prematched=True, trust_repo=True, pretrained=True, device=device)
|