Spaces:
Sleeping
Sleeping
Commit
·
f0fcaae
1
Parent(s):
8732225
Update app.py
Browse files
app.py
CHANGED
@@ -77,11 +77,11 @@ def convert(model, src_mic,src_file, tgt):
|
|
77 |
|
78 |
if not src:
|
79 |
logging.error("Source audio not provided")
|
80 |
-
return
|
81 |
|
82 |
if not tgt:
|
83 |
logging.error("Reference audio not provided")
|
84 |
-
return
|
85 |
|
86 |
with torch.no_grad():
|
87 |
# tgt
|
|
|
77 |
|
78 |
if not src:
|
79 |
logging.error("Source audio not provided")
|
80 |
+
return
|
81 |
|
82 |
if not tgt:
|
83 |
logging.error("Reference audio not provided")
|
84 |
+
return
|
85 |
|
86 |
with torch.no_grad():
|
87 |
# tgt
|