Spaces:
Build error
Build error
Pie31415
commited on
Commit
·
f16a6ab
1
Parent(s):
9a3e370
updated app
Browse files
app.py
CHANGED
|
@@ -10,9 +10,12 @@ from PIL import Image
|
|
| 10 |
|
| 11 |
subprocess.run(["git", "submodule", "update", "--init", "--recursive"])
|
| 12 |
|
|
|
|
|
|
|
|
|
|
| 13 |
sys.path.append("./rome")
|
| 14 |
-
from src.utils import args as args_utils
|
| 15 |
-
from src.utils.processing import process_black_shape, tensor2image
|
| 16 |
|
| 17 |
# loading models ---- create model repo
|
| 18 |
from huggingface_hub import hf_hub_url
|
|
|
|
| 10 |
|
| 11 |
subprocess.run(["git", "submodule", "update", "--init", "--recursive"])
|
| 12 |
|
| 13 |
+
print(os.getcwd())
|
| 14 |
+
print(os.listdir('.'))
|
| 15 |
+
|
| 16 |
sys.path.append("./rome")
|
| 17 |
+
from rome.src.utils import args as args_utils
|
| 18 |
+
from rome.src.utils.processing import process_black_shape, tensor2image
|
| 19 |
|
| 20 |
# loading models ---- create model repo
|
| 21 |
from huggingface_hub import hf_hub_url
|