Nunchakuka commited on
Commit
f0fcaae
·
1 Parent(s): 8732225

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 "Error: Source audio not provided"
81
 
82
  if not tgt:
83
  logging.error("Reference audio not provided")
84
- return "Error: Reference audio not provided"
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