Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import os
|
2 |
|
3 |
os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
|
|
|
|
|
4 |
|
5 |
|
6 |
import gradio as gr
|
|
|
1 |
import os
|
2 |
|
3 |
os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
|
4 |
+
os.system('mkdir checkpoints && cd checkpoints')
|
5 |
+
os.system('wget https://datarelease.blob.core.windows.net/grit/models/grit_b_densecap_objectdet.pth && cd ..')
|
6 |
|
7 |
|
8 |
import gradio as gr
|