mrfakename commited on
Commit
bc8cc20
1 Parent(s): 828c364

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def move_files_and_subdirs(source_dir):
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', 'spacy', 'transformers==4.33.1', 'flash-attn'])
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'])
 
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', 'spacy', 'transformers', 'flash-attn'])
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'])