Hev832 commited on
Commit
01877a5
1 Parent(s): 1dd5b9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,7 +138,7 @@ def download_from_url(url, model):
138
  return "No zipfile found.", {"choices":show_available("assets/weights"),"__type__":"update"}
139
  shutil.rmtree("zips")
140
  shutil.rmtree("unzips")
141
- return "Success.", {"choices":show_available("assets/weights"),"__type__":"update"}
142
  except:
143
  return "There's been an error.", {"choices":show_available("assets/weights"),"__type__":"update"}
144
 
 
138
  return "No zipfile found.", {"choices":show_available("assets/weights"),"__type__":"update"}
139
  shutil.rmtree("zips")
140
  shutil.rmtree("unzips")
141
+ return f"Success download {model_rename} voice models.", {"choices":show_available("assets/weights"),"__type__":"update"}
142
  except:
143
  return "There's been an error.", {"choices":show_available("assets/weights"),"__type__":"update"}
144