Spaces:
Build error
Build error
mrfakename
commited on
Commit
•
828c364
1
Parent(s):
a9e678c
Update app.py
Browse files
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'])
|
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==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'])
|