mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
6ebf0cedf5
* Add support for StableDiffusionPipeline * Add support for Stable Diffusion pipelines in interface.from_pipeline(), import transformers and diffusers conditionally * add changeset * refactor: create helpers method to handle transformers and diffusers pipelines and refactored load from pipeline to use helper methods. * Update test requirements.in, and generated requirements.txt after adding diffusers as dependency * Fix reportPrivateImportUsage on diffusers pipelines * Format code using ruff * PIL is required library so moved it out of if block * Add return statement to every if block and fix typo * check module name of pipeline to decide how to handle that pipeline * refactored if statements in pipeline_helper module * exclude gradio from test requirements * update tests requirements.txt using pip-compile --upgrade * fix failing typechecks * Add unit tests for one transformer and diffuser load from pipeline * Refactor code to return dict from every if branch and replace all elifs * Update requirements.txt using pip-compile * Update requirements file * Update test requirements file * Add unit tests for handle transfomers and diffusers pipelines functions present in pipelines_helpers.py * Add support for StableDiffusionPipeline * Add support for Stable Diffusion pipelines in interface.from_pipeline(), import transformers and diffusers conditionally * add changeset * refactor: create helpers method to handle transformers and diffusers pipelines and refactored load from pipeline to use helper methods. * Update test requirements.in, and generated requirements.txt after adding diffusers as dependency * Fix reportPrivateImportUsage on diffusers pipelines * Format code using ruff * PIL is required library so moved it out of if block * Add return statement to every if block and fix typo * check module name of pipeline to decide how to handle that pipeline * refactored if statements in pipeline_helper module * exclude gradio from test requirements * update tests requirements.txt using pip-compile --upgrade * fix failing typechecks * Add unit tests for one transformer and diffuser load from pipeline * Refactor code to return dict from every if branch and replace all elifs * Update requirements.txt using pip-compile * Update requirements file * Update test requirements file * Add unit tests for handle transfomers and diffusers pipelines functions present in pipelines_helpers.py * remove gradio from test requirements * remove ap.py * formatting and minor cleanup * changes * update version * Version --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
24 lines
389 B
Plaintext
24 lines
389 B
Plaintext
# Don't forget to run bash scripts/create_test_requirements.sh and scripts/create_test_requirements-37.sh from unix or wsl when you update this file.
|
|
IPython
|
|
altair
|
|
asyncio
|
|
boto3
|
|
coverage
|
|
fastapi>=0.101.0
|
|
gradio_pdf==0.0.3
|
|
httpx
|
|
huggingface_hub
|
|
polars==0.20.5
|
|
pydantic[email]
|
|
pytest
|
|
pytest-asyncio
|
|
pytest-cov
|
|
ruff>=0.1.13
|
|
respx
|
|
scikit-image
|
|
torch
|
|
tqdm
|
|
transformers
|
|
vega_datasets
|
|
diffusers
|