yxchng
commited on
Commit
·
1331a7f
1
Parent(s):
6bcc48d
fix app
Browse files
app.py
CHANGED
|
@@ -1,8 +1,9 @@
|
|
| 1 |
|
| 2 |
import gradio as gr
|
|
|
|
| 3 |
|
| 4 |
import os
|
| 5 |
-
os.system(
|
| 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')
|
|
|
|
| 1 |
|
| 2 |
import gradio as gr
|
| 3 |
+
import subprocess
|
| 4 |
|
| 5 |
import os
|
| 6 |
+
os.system("curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh")
|
| 7 |
os.system('pip install tokenizers==0.8.1rc1')
|
| 8 |
|
| 9 |
os.system('wget https://huggingface.co/yxchng/elia_refcoco/resolve/main/model_best_refcoco_0508.pth')
|