Codecooker commited on
Commit
5cb31ca
1 Parent(s): f28703e
Files changed (2) hide show
  1. requirements.txt +0 -1
  2. src/webui.py +2 -1
requirements.txt CHANGED
@@ -14,6 +14,5 @@ pyworld==0.3.4
14
  Requests==2.31.0
15
  scipy==1.11.1
16
  soundfile==0.12.1
17
- torchcrepe==0.0.20
18
  tqdm==4.65.0
19
  yt_dlp==2023.7.6
 
14
  Requests==2.31.0
15
  scipy==1.11.1
16
  soundfile==0.12.1
 
17
  tqdm==4.65.0
18
  yt_dlp==2023.7.6
src/webui.py CHANGED
@@ -148,7 +148,8 @@ def process_file_upload(file):
148
 
149
 
150
  if __name__ == '__main__':
151
- os.system("pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu")
 
152
  parser = ArgumentParser(description='Generate a AI cover song in the song_output/id directory.', add_help=True)
153
  parser.add_argument("--share", action="store_true", dest="share_enabled", default=False, help="Enable sharing")
154
  parser.add_argument("--listen", action="store_true", default=False, help="Make the WebUI reachable from your local network.")
 
148
 
149
 
150
  if __name__ == '__main__':
151
+ os.system("pip install torchcrepe")
152
+ os.system("pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu")
153
  parser = ArgumentParser(description='Generate a AI cover song in the song_output/id directory.', add_help=True)
154
  parser.add_argument("--share", action="store_true", dest="share_enabled", default=False, help="Enable sharing")
155
  parser.add_argument("--listen", action="store_true", default=False, help="Make the WebUI reachable from your local network.")