Codecooker commited on
Commit
447a9ff
·
1 Parent(s): cc1f01d

fix for cpu

Browse files
Files changed (2) hide show
  1. requirements.txt +1 -0
  2. src/webui.py +1 -1
requirements.txt CHANGED
@@ -14,5 +14,6 @@ pyworld==0.3.4
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
 
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
src/webui.py CHANGED
@@ -148,7 +148,7 @@ def process_file_upload(file):
148
 
149
 
150
  if __name__ == '__main__':
151
- os.syste("pip3 install torch torchvision torchaudio torchcrepe --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.syste("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.")