Upload briaai_FIBO_1.txt with huggingface_hub
Browse files- briaai_FIBO_1.txt +79 -0
briaai_FIBO_1.txt
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
```CODE:
|
| 2 |
+
from diffusers import DiffusionPipeline
|
| 3 |
+
|
| 4 |
+
pipe = DiffusionPipeline.from_pretrained("briaai/FIBO")
|
| 5 |
+
|
| 6 |
+
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
|
| 7 |
+
image = pipe(prompt).images[0]
|
| 8 |
+
```
|
| 9 |
+
|
| 10 |
+
ERROR:
|
| 11 |
+
Traceback (most recent call last):
|
| 12 |
+
File "/tmp/.cache/uv/environments-v2/c8b87bbdd7febbb9/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 402, in hf_raise_for_status
|
| 13 |
+
response.raise_for_status()
|
| 14 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~^^
|
| 15 |
+
File "/tmp/.cache/uv/environments-v2/c8b87bbdd7febbb9/lib/python3.13/site-packages/requests/models.py", line 1026, in raise_for_status
|
| 16 |
+
raise HTTPError(http_error_msg, response=self)
|
| 17 |
+
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://huggingface.co/briaai/FIBO/resolve/main/model_index.json
|
| 18 |
+
|
| 19 |
+
The above exception was the direct cause of the following exception:
|
| 20 |
+
|
| 21 |
+
Traceback (most recent call last):
|
| 22 |
+
File "/tmp/briaai_FIBO_1UmtvRr.py", line 18, in <module>
|
| 23 |
+
pipe = DiffusionPipeline.from_pretrained("briaai/FIBO")
|
| 24 |
+
File "/tmp/.cache/uv/environments-v2/c8b87bbdd7febbb9/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 25 |
+
return fn(*args, **kwargs)
|
| 26 |
+
File "/tmp/.cache/uv/environments-v2/c8b87bbdd7febbb9/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 833, in from_pretrained
|
| 27 |
+
cached_folder = cls.download(
|
| 28 |
+
pretrained_model_name_or_path,
|
| 29 |
+
...<14 lines>...
|
| 30 |
+
**kwargs,
|
| 31 |
+
)
|
| 32 |
+
File "/tmp/.cache/uv/environments-v2/c8b87bbdd7febbb9/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 33 |
+
return fn(*args, **kwargs)
|
| 34 |
+
File "/tmp/.cache/uv/environments-v2/c8b87bbdd7febbb9/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1490, in download
|
| 35 |
+
config_file = hf_hub_download(
|
| 36 |
+
pretrained_model_name,
|
| 37 |
+
...<5 lines>...
|
| 38 |
+
token=token,
|
| 39 |
+
)
|
| 40 |
+
File "/tmp/.cache/uv/environments-v2/c8b87bbdd7febbb9/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 41 |
+
return fn(*args, **kwargs)
|
| 42 |
+
File "/tmp/.cache/uv/environments-v2/c8b87bbdd7febbb9/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1007, in hf_hub_download
|
| 43 |
+
return _hf_hub_download_to_cache_dir(
|
| 44 |
+
# Destination
|
| 45 |
+
...<14 lines>...
|
| 46 |
+
force_download=force_download,
|
| 47 |
+
)
|
| 48 |
+
File "/tmp/.cache/uv/environments-v2/c8b87bbdd7febbb9/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1114, in _hf_hub_download_to_cache_dir
|
| 49 |
+
_raise_on_head_call_error(head_call_error, force_download, local_files_only)
|
| 50 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 51 |
+
File "/tmp/.cache/uv/environments-v2/c8b87bbdd7febbb9/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1655, in _raise_on_head_call_error
|
| 52 |
+
raise head_call_error
|
| 53 |
+
File "/tmp/.cache/uv/environments-v2/c8b87bbdd7febbb9/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1543, in _get_metadata_or_catch_error
|
| 54 |
+
metadata = get_hf_file_metadata(
|
| 55 |
+
url=url, proxies=proxies, timeout=etag_timeout, headers=headers, token=token, endpoint=endpoint
|
| 56 |
+
)
|
| 57 |
+
File "/tmp/.cache/uv/environments-v2/c8b87bbdd7febbb9/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 58 |
+
return fn(*args, **kwargs)
|
| 59 |
+
File "/tmp/.cache/uv/environments-v2/c8b87bbdd7febbb9/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1460, in get_hf_file_metadata
|
| 60 |
+
r = _request_wrapper(
|
| 61 |
+
method="HEAD",
|
| 62 |
+
...<5 lines>...
|
| 63 |
+
timeout=timeout,
|
| 64 |
+
)
|
| 65 |
+
File "/tmp/.cache/uv/environments-v2/c8b87bbdd7febbb9/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 283, in _request_wrapper
|
| 66 |
+
response = _request_wrapper(
|
| 67 |
+
method=method,
|
| 68 |
+
...<2 lines>...
|
| 69 |
+
**params,
|
| 70 |
+
)
|
| 71 |
+
File "/tmp/.cache/uv/environments-v2/c8b87bbdd7febbb9/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 307, in _request_wrapper
|
| 72 |
+
hf_raise_for_status(response)
|
| 73 |
+
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
|
| 74 |
+
File "/tmp/.cache/uv/environments-v2/c8b87bbdd7febbb9/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 419, in hf_raise_for_status
|
| 75 |
+
raise _format(GatedRepoError, message, response) from e
|
| 76 |
+
huggingface_hub.errors.GatedRepoError: 403 Client Error. (Request ID: Root=1-690316f8-17df37d14cf040da150a49b4;f33db6e2-f534-48ce-980f-74f18695d5a1)
|
| 77 |
+
|
| 78 |
+
Cannot access gated repo for url https://huggingface.co/briaai/FIBO/resolve/main/model_index.json.
|
| 79 |
+
Access to model briaai/FIBO is restricted and you are not in the authorized list. Visit https://huggingface.co/briaai/FIBO to ask for access.
|