KwabsHug commited on
Commit
c640bb9
1 Parent(s): 8811d31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -27,7 +27,9 @@ import cv2
27
  import math
28
 
29
  print(gr.__version__)
30
- !pip install gradio==3.47.1 --force-reinstall
 
 
31
 
32
  #Uncomment these for Huggingface
33
  nltk.download('maxent_ne_chunker') #Chunker
 
27
  import math
28
 
29
  print(gr.__version__)
30
+ import subprocess
31
+ subprocess.run(["pip", "install", "gradio==3.47.1", "--force-reinstall"])
32
+
33
 
34
  #Uncomment these for Huggingface
35
  nltk.download('maxent_ne_chunker') #Chunker