tonychenxyz commited on
Commit
4a59382
·
1 Parent(s): e0d2015

updated installation1

Browse files
Files changed (2) hide show
  1. app.py +2 -1
  2. requirements.txt +2 -1
app.py CHANGED
@@ -16,8 +16,9 @@ def install(package):
16
  print(f"Package {package} was not installed, proceeding with installation")
17
  subprocess.check_call([sys.executable, "-m", "pip", "install", package])
18
 
19
- install('pydantic==1.8.0')
20
  install('gradio==4.43.0')
 
21
 
22
  is_prod = True
23
  if os.environ.get('PROD_MODE') == 'local':
 
16
  print(f"Package {package} was not installed, proceeding with installation")
17
  subprocess.check_call([sys.executable, "-m", "pip", "install", package])
18
 
19
+ install('pydantic==2.0.0')
20
  install('gradio==4.43.0')
21
+ install('spacy==3.7')
22
 
23
  is_prod = True
24
  if os.environ.get('PROD_MODE') == 'local':
requirements.txt CHANGED
@@ -16,5 +16,6 @@ deepfilternet
16
  pydub
17
  soundfile
18
  huggingface_hub
19
- pydantic==1.8
20
  gradio==4.43.0
 
 
16
  pydub
17
  soundfile
18
  huggingface_hub
19
+ pydantic==2.0
20
  gradio==4.43.0
21
+ spacy==3.7