Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
640985c
1
Parent(s):
c709c3d
Update app.py
Browse files
app.py
CHANGED
@@ -1,13 +1,12 @@
|
|
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("
|
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 |
-
from pathlib import Path
|
11 |
|
12 |
|
13 |
def inference(video):
|
|
|
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 |
|
12 |
def inference(video):
|