asalhi85 commited on
Commit
5a87cdf
1 Parent(s): 5633077

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -3,6 +3,9 @@ try:
3
  except:
4
  import os
5
  os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
 
 
 
6
 
7
  import cv2
8
  import torch
 
3
  except:
4
  import os
5
  os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
6
+ import os
7
+ os.system("pip uninstall -y gradio")
8
+ os.system("pip install gradio==3.45.0")
9
 
10
  import cv2
11
  import torch