Skip to content

Conversation

lee101
Copy link
Contributor

@lee101 lee101 commented Jun 7, 2025

Summary

  • update diffusers to 0.33.1
  • load optional FluxPipeline model in main.py
  • add /flux_create_and_upload_image API endpoint
  • provide helper get_flux_image_or_upload and create_flux_image_from_prompt
  • create __init__.py for package discovery
  • add tests covering the new helper

Testing

  • pip install diffusers==0.33.1
  • pip install cachetools loguru fastapi pillow-avif-plugin nltk torch --extra-index-url https://download.pytorch.org/whl/cpu
  • pip install transformers google-cloud-storage
  • pytest tests/test_flux_pipeline.py -q (fails: RepositoryNotFoundError)

https://chatgpt.com/codex/tasks/task_e_6843e0fe2e448333a47371aa52d670b3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant