wetdog commited on
Commit
9ca2c45
1 Parent(s): 16f5d6e

Fix tempfile import

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ 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)
 
4
  from typing import List
5
  import soundfile as sf
6
  import gradio as gr
7
+ import tempfile
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)