Spaces:
Runtime error
Runtime error
Commit
·
c0c48b2
1
Parent(s):
243e095
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ models = list_models()
|
|
5 |
|
6 |
# Or configure a HfApi client
|
7 |
hf_api = HfApi(
|
8 |
-
endpoint="models.", # Can be a Private Hub endpoint.
|
9 |
token="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", # Token is not persisted on the machine.
|
10 |
)
|
11 |
models = hf_api.list_models()
|
|
|
5 |
|
6 |
# Or configure a HfApi client
|
7 |
hf_api = HfApi(
|
8 |
+
endpoint="https://huggingface.co/api/models/stabilityai/stable-diffusion-xl-base-0.9", # Can be a Private Hub endpoint.
|
9 |
token="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", # Token is not persisted on the machine.
|
10 |
)
|
11 |
models = hf_api.list_models()
|