Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|