mrfakename's picture
Update app.py
ba6d8c6 verified
raw
history blame
432 Bytes
import subprocess, os
subprocess.run(['git', 'clone', 'https://github.com/metavoiceio/metavoice-src', './mvsrc'])
subprocess.run(['mv', './mvsrc/*', '.'])
print(subprocess.run(['ls']))
# subprocess.run(['pip', 'install', '-r', 'requirements.txt'])
serving = subprocess.Popen(['python', 'fam/llm/serving.py', '--huggingface_repo_id', 'metavoiceio/metavoice-1B-v0.1'])
subprocess.run(['python', 'fam/ui/app.py'])
serving.communicate()