Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import subprocess
|
2 |
import sys
|
3 |
from os.path import abspath, dirname,join
|
|
|
|
|
4 |
sys.path.append(join(dirname(abspath(__file__)),'GroundingDINO'))
|
5 |
|
6 |
def run_commands():
|
@@ -41,7 +43,6 @@ def video_app_setup_and_run_pipeline():
|
|
41 |
import yaml
|
42 |
import supervision as sv
|
43 |
import gradio as gr
|
44 |
-
import spaces
|
45 |
|
46 |
class DinoVisionTransformerClassifier(nn.Module):
|
47 |
def __init__(self):
|
|
|
1 |
import subprocess
|
2 |
import sys
|
3 |
from os.path import abspath, dirname,join
|
4 |
+
import spaces
|
5 |
+
|
6 |
sys.path.append(join(dirname(abspath(__file__)),'GroundingDINO'))
|
7 |
|
8 |
def run_commands():
|
|
|
43 |
import yaml
|
44 |
import supervision as sv
|
45 |
import gradio as gr
|
|
|
46 |
|
47 |
class DinoVisionTransformerClassifier(nn.Module):
|
48 |
def __init__(self):
|