mrfakename commited on
Commit
346acce
1 Parent(s): 226237e

Update app.py

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