Spaces:
Build error
Build error
Pie31415
commited on
Commit
·
59672e3
1
Parent(s):
75bf09d
updated app
Browse files- .gitmodules +0 -1
- app.py +2 -2
.gitmodules
CHANGED
|
@@ -7,5 +7,4 @@
|
|
| 7 |
[submodule "MODNet"]
|
| 8 |
path = MODNet
|
| 9 |
url = https://github.com/ZHKKKe/MODNet
|
| 10 |
-
|
| 11 |
|
|
|
|
| 7 |
[submodule "MODNet"]
|
| 8 |
path = MODNet
|
| 9 |
url = https://github.com/ZHKKKe/MODNet
|
|
|
|
| 10 |
|
app.py
CHANGED
|
@@ -6,8 +6,8 @@ import matplotlib.pyplot as plt
|
|
| 6 |
from PIL import Image
|
| 7 |
|
| 8 |
sys.path.append("./rome")
|
| 9 |
-
from
|
| 10 |
-
from
|
| 11 |
|
| 12 |
# loading models ---- create model repo
|
| 13 |
from huggingface_hub import hf_hub_url
|
|
|
|
| 6 |
from PIL import Image
|
| 7 |
|
| 8 |
sys.path.append("./rome")
|
| 9 |
+
from src.utils import args as args_utils
|
| 10 |
+
from src.utils.processing import process_black_shape, tensor2image
|
| 11 |
|
| 12 |
# loading models ---- create model repo
|
| 13 |
from huggingface_hub import hf_hub_url
|