mrfakename commited on
Commit
412afee
1 Parent(s): 67ae407

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,8 +37,8 @@ def move_files_and_subdirs(source_dir):
37
 
38
  subprocess.run(['git', 'clone', 'https://github.com/fakerybakery/metavoice-src', './mvsrc'])
39
  time.sleep(3)
40
- subprocess.run(['pip', 'uninstall', '-y', 'pydantic', 'fastapi'])
41
- subprocess.run(['pip', 'install', '-U', 'pydantic==2.6.1', 'fastapi'])
42
  move_files_and_subdirs("mvsrc")
43
  time.sleep(3)
44
  serving = subprocess.Popen(['python', 'fam/llm/serving.py', '--huggingface_repo_id', 'metavoiceio/metavoice-1B-v0.1'])
 
37
 
38
  subprocess.run(['git', 'clone', 'https://github.com/fakerybakery/metavoice-src', './mvsrc'])
39
  time.sleep(3)
40
+ subprocess.run(['pip', 'uninstall', '-y', 'pydantic', 'spacy'])
41
+ subprocess.run(['pip', 'install', '-U', 'fastapi'])
42
  move_files_and_subdirs("mvsrc")
43
  time.sleep(3)
44
  serving = subprocess.Popen(['python', 'fam/llm/serving.py', '--huggingface_repo_id', 'metavoiceio/metavoice-1B-v0.1'])