Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,10 +13,10 @@ import cv2
|
|
13 |
from matplotlib import pyplot as plt
|
14 |
from inpainting import StableDiffusionInpaintingPipeline
|
15 |
from torchvision import transforms
|
16 |
-
from clipseg.models.clipseg import CLIPDensePredT
|
17 |
|
18 |
-
|
19 |
-
|
20 |
#clone_from (str, optional) — Either a repository url or repo_id. Example:
|
21 |
#api = HfApi()
|
22 |
|
|
|
13 |
from matplotlib import pyplot as plt
|
14 |
from inpainting import StableDiffusionInpaintingPipeline
|
15 |
from torchvision import transforms
|
16 |
+
#from clipseg.models.clipseg import CLIPDensePredT
|
17 |
|
18 |
+
from huggingface_hub import hf_hub_download
|
19 |
+
hf_hub_download(repo_id="ThereforeGames/txt2mask", filename="/repositories/clipseg/")
|
20 |
#clone_from (str, optional) — Either a repository url or repo_id. Example:
|
21 |
#api = HfApi()
|
22 |
|