Royir commited on
Commit
948cb9e
·
1 Parent(s): 266dfa0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import subprocess
7
 
8
  def install_spacy_model(model_name):
9
  try:
10
- subprocess.check_call(["python", "-m", "spacy", "download", model_name])
11
  except subprocess.CalledProcessError as e:
12
  print(f"Error occurred while installing the model: {model_name}")
13
  print(f"Error details: {str(e)}")
 
7
 
8
  def install_spacy_model(model_name):
9
  try:
10
+ subprocess.check_call(["python3", "-m", "spacy", "download", model_name])
11
  except subprocess.CalledProcessError as e:
12
  print(f"Error occurred while installing the model: {model_name}")
13
  print(f"Error details: {str(e)}")