Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
e1bd448
1
Parent(s):
d4506c7
Update app.py
Browse files
app.py
CHANGED
@@ -1,14 +1,9 @@
|
|
1 |
import os
|
2 |
import gradio as gr
|
3 |
os.system("pip3 install cython_bbox gdown 'git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI'")
|
4 |
-
#os.system("git clone https://github.com/Megvii-BaseDetection/YOLOX.git")
|
5 |
-
#os.chdir("yolox")
|
6 |
-
#os.system("pip3 install -r requirements.txt")
|
7 |
os.system("pip3 install -v -e .")
|
8 |
-
#os.chdir("..")
|
9 |
os.system("gdown https://drive.google.com/uc?id=1RE5vaKHYt_TL0cXNn6FmjO7aZx3sVfVA")
|
10 |
|
11 |
-
os.system("python3 -X faulthandler")
|
12 |
def inference(video):
|
13 |
os.system("python onnx_inference.py -i "+video)
|
14 |
os.system("ls .")
|
|
|
1 |
import os
|
2 |
import gradio as gr
|
3 |
os.system("pip3 install cython_bbox gdown 'git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI'")
|
|
|
|
|
|
|
4 |
os.system("pip3 install -v -e .")
|
|
|
5 |
os.system("gdown https://drive.google.com/uc?id=1RE5vaKHYt_TL0cXNn6FmjO7aZx3sVfVA")
|
6 |
|
|
|
7 |
def inference(video):
|
8 |
os.system("python onnx_inference.py -i "+video)
|
9 |
os.system("ls .")
|