Spaces:
Runtime error
Runtime error
Mountchicken
commited on
Commit
•
1a2f1fb
1
Parent(s):
bf9dee2
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import os
|
|
|
2 |
import argparse
|
3 |
from typing import Dict, List
|
4 |
from gdino import GroundingDINOAPIWrapper, visualize
|
@@ -10,6 +11,7 @@ def arg_parse():
|
|
10 |
parser.add_argument(
|
11 |
"--token",
|
12 |
type=str,
|
|
|
13 |
help="This token is only for gradio space. Please do not take it away for your own purpose!",
|
14 |
)
|
15 |
args = parser.parse_args()
|
|
|
1 |
import os
|
2 |
+
os.system('pip install -v -e .')
|
3 |
import argparse
|
4 |
from typing import Dict, List
|
5 |
from gdino import GroundingDINOAPIWrapper, visualize
|
|
|
11 |
parser.add_argument(
|
12 |
"--token",
|
13 |
type=str,
|
14 |
+
default='trex-huggingface-demo',
|
15 |
help="This token is only for gradio space. Please do not take it away for your own purpose!",
|
16 |
)
|
17 |
args = parser.parse_args()
|