yxchng
commited on
Commit
·
6bcc48d
1
Parent(s):
5e5ef21
add tokenizer
Browse files
app.py
CHANGED
@@ -1,6 +1,9 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
import os
|
|
|
|
|
4 |
|
5 |
os.system('wget https://huggingface.co/yxchng/elia_refcoco/resolve/main/model_best_refcoco_0508.pth')
|
6 |
image_path = './image001.png'
|
|
|
1 |
+
|
2 |
import gradio as gr
|
3 |
|
4 |
import os
|
5 |
+
os.system('curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh')
|
6 |
+
os.system('pip install tokenizers==0.8.1rc1')
|
7 |
|
8 |
os.system('wget https://huggingface.co/yxchng/elia_refcoco/resolve/main/model_best_refcoco_0508.pth')
|
9 |
image_path = './image001.png'
|