Ahsen Khaliq commited on
Commit
5af8374
1 Parent(s): 465145b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -2,13 +2,10 @@ import gradio as gr
2
  import os
3
  import shlex
4
 
5
- os.system('wget https://www.dropbox.com/s/luro5o8kjotkn70/pretrained.pt')
6
- os.system('wget https://www.dropbox.com/s/dv0ymnlqillecfw/pretrained.pt')
7
- os.system('wget https://www.dropbox.com/s/aiym2qfv7087bsc/pretrained.pt')
8
  os.system('ls')
9
- os.rename("pretrained.pt", "synthesizer/saved_models/pretrained/pretrained.pt")
10
- os.rename("pretrained.pt.1", "encoder/saved_models/pretrained.pt")
11
- os.rename("pretrained.pt.2", "vocoder/saved_models/pretrained/pretrained.pt")
12
 
13
 
14
  def inference(audio, text):
 
2
  import os
3
  import shlex
4
 
5
+ os.system('wget https://www.dropbox.com/s/luro5o8kjotkn70/synpretrained.pt')
6
+ os.system('wget https://www.dropbox.com/s/dv0ymnlqillecfw/encpretrained.pt')
7
+ os.system('wget https://www.dropbox.com/s/aiym2qfv7087bsc/vocpretrained.pt')
8
  os.system('ls')
 
 
 
9
 
10
 
11
  def inference(audio, text):