Spaces:
Sleeping
Sleeping
Commit History
-
Fix Phase 3 reference_images SDK limitation
normanedev02- Updated generate_with_native_references to gracefully skip when reference images are provided (SDK doesn't support reference_images parameter in generate_images method) - Falls back to Phase 2 prompt-based consistency automatically12eb1d7 -
Add Phase 3: Native Reference Images with Vertex AI Capability Model
normanedev02Features: - Service account authentication (GOOGLE_APPLICATION_CREDENTIALS) - Hugging Face Spaces support (GCP_SERVICE_ACCOUNT_JSON secret) - Vertex AI imagen-3.0-capability-001 model - Native reference images with REFERENCE_TYPE_SUBJECT - Subject type inference (PERSON, ANIMAL, PRODUCT) - Automatic fallback to Phase 2 when unavailable Files: - phase3_native_reference_generator.py: Native reference image generator - app.py: Phase 3 integration with fallback logic - requirements.txt: Added google-cloud-aiplatform, vertexai dependencies - README.md: HF Spaces deployment instructions - .gitignore: Exclude service account JSON filesb67275f