Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
1d7a994
1
Parent(s):
17b0e9f
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,11 @@
|
|
1 |
import os
|
2 |
import gradio as gr
|
3 |
os.system("pip3 install cython_bbox gdown")
|
4 |
-
os.system("
|
|
|
|
|
|
|
|
|
5 |
os.system("gdown https://drive.google.com/uc?id=1RE5vaKHYt_TL0cXNn6FmjO7aZx3sVfVA")
|
6 |
|
7 |
def inference(video):
|
|
|
1 |
import os
|
2 |
import gradio as gr
|
3 |
os.system("pip3 install cython_bbox gdown")
|
4 |
+
os.system("git clone git@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 |
def inference(video):
|