ddayto
7174340c00
fix: deprecated arguments in stable diffusion demo ( #10434 )
...
* Refactor requirements and improve Hugging Face token handling
- Updated `requirements.txt` to include specific package versions, ensuring better dependency management and compatibility.
- Enhanced `run.py` to check for the Hugging Face access token (`HUGGING_FACE_ACCESS_TOKEN`) at runtime, providing a clear error message if it's missing.
- Replaced deprecated arguments (`use_auth_token`, `revision="fp16"`) with updated ones (`token`, `variant="fp16"`) in the StableDiffusionPipeline setup.
- Added minor formatting improvements to improve readability and maintainability in the `run.py` script.
These changes enhance user clarity, ensure compatibility with updated libraries, and improve the code's overall quality.
* chore: pin versions for diffusers and torch in requirements.txt
* refactor: use standard HF_TOKEN for authentication in run.py
* notebook
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-24 16:51:04 -08:00
..
2024-12-23 22:33:22 +00:00
2025-01-01 15:05:12 -05:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-09-16 15:16:48 +00:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-01-22 23:31:59 -08:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2023-10-31 10:11:17 -04:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2023-10-15 18:16:57 -07:00
2024-07-29 22:08:51 -07:00
2023-10-15 18:16:57 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-11-20 12:57:59 -08:00
2024-11-15 12:56:36 -08:00
2024-12-23 18:19:46 -05:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2023-10-15 18:16:57 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-12-23 13:04:28 -05:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2025-01-09 13:39:03 -08:00
2024-10-08 22:17:17 -07:00
2024-12-17 17:15:16 -05:00
2025-01-08 21:27:15 +00:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2025-01-20 22:43:04 -08:00
2024-07-29 22:08:51 -07:00
2024-12-02 16:16:07 -05:00
2024-12-17 14:46:10 -05:00
2025-01-10 00:06:07 +00:00
2025-01-10 00:06:07 +00:00
2025-01-15 07:40:12 -08:00
2024-11-28 14:07:39 -05:00
2025-01-04 17:42:05 +00:00
2025-01-06 13:59:31 -08:00
2024-10-08 22:17:17 -07:00
2025-01-10 00:06:07 +00:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-11-19 19:58:19 +00:00
2024-07-29 22:08:51 -07:00
2024-10-21 16:46:01 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2023-10-15 18:16:57 -07:00
2024-10-08 22:17:17 -07:00
2023-11-03 22:33:19 +00:00
2024-10-08 22:17:17 -07:00
2025-01-22 22:19:29 +00:00
2024-02-09 18:23:05 +00:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-10 20:55:45 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2025-01-08 20:25:47 +00:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-19 18:34:34 -07:00
2024-08-07 00:55:38 +00:00
2023-10-15 18:16:57 -07:00
2023-10-15 18:16:57 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-05-16 13:08:21 -04:00
2024-10-08 22:17:17 -07:00
2024-02-12 10:06:46 -08:00
2023-10-15 18:16:57 -07:00
2024-10-08 22:17:17 -07:00
2023-10-31 04:46:02 +00:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2025-01-22 18:35:00 +00:00
2025-01-23 17:26:42 -08:00
2025-01-23 17:26:42 -08:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2023-10-15 18:16:57 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-11-28 14:07:39 -05:00
2024-11-28 14:07:39 -05:00
2024-11-28 14:07:39 -05:00
2024-11-28 14:07:39 -05:00
2024-11-28 14:07:39 -05:00
2024-11-28 14:07:39 -05:00
2024-11-28 14:07:39 -05:00
2024-11-15 15:46:59 -08:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-06-19 14:07:21 -04:00
2025-01-21 15:24:16 -08:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-08-07 19:17:14 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-08-07 19:17:14 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-08-07 19:17:14 -07:00
2024-08-07 19:17:14 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-19 18:34:34 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-11-28 12:42:15 -05:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-12-16 21:18:36 +00:00
2025-01-03 11:52:37 +00:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-11-20 12:57:59 -08:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-11-01 19:00:22 -07:00
2024-10-08 22:17:17 -07:00
2024-11-01 19:00:22 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2025-01-24 16:51:04 -08:00
2024-12-04 12:10:31 -06:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-09-16 15:16:48 +00:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-02-06 22:34:02 +00:00
2024-10-08 22:17:17 -07:00
2025-01-17 14:54:24 -08:00
2024-07-29 22:08:51 -07:00
2024-10-21 16:46:01 -07:00
2023-10-15 18:16:57 -07:00
2024-11-23 20:24:55 +00:00
2024-12-07 09:51:00 -06:00
2024-12-20 16:15:25 -08:00
2023-10-15 18:16:57 -07:00
2024-07-19 18:34:34 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2023-10-15 18:16:57 -07:00
2023-10-15 18:16:57 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-30 20:06:13 +00:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-08-07 22:14:48 -07:00
2024-08-07 22:14:48 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2023-10-15 18:16:57 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2023-10-15 18:16:57 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 21:09:38 +00:00
2024-07-29 22:08:51 -07:00
2024-12-03 19:01:47 -05:00
2024-08-07 00:55:38 +00:00
2024-07-29 22:08:51 -07:00
2024-10-08 22:17:17 -07:00
2024-07-29 22:08:51 -07:00
2024-07-29 22:08:51 -07:00
2022-08-16 12:07:20 -04:00
2022-06-01 12:23:12 -04:00
2024-11-12 12:47:36 -08:00