Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,8 @@ huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
|
|
17 |
|
18 |
model_path = snapshot_download(
|
19 |
repo_id="stabilityai/stable-diffusion-3-medium",
|
20 |
-
|
|
|
21 |
ignore_patterns=["*.md", "*..gitattributes"],
|
22 |
local_dir="SD3",
|
23 |
token=huggingface_token, # type a new token-id.
|
|
|
17 |
|
18 |
model_path = snapshot_download(
|
19 |
repo_id="stabilityai/stable-diffusion-3-medium",
|
20 |
+
revision="refs/pr/26",
|
21 |
+
repo_type="model",
|
22 |
ignore_patterns=["*.md", "*..gitattributes"],
|
23 |
local_dir="SD3",
|
24 |
token=huggingface_token, # type a new token-id.
|