Stability-AI / stability-sdk

SDK for interacting with stability.ai APIs (e.g. stable diffusion inference)
https://platform.stability.ai/
MIT License
2.41k stars 339 forks source link

Configurable Default Engines via Environment Variables #265

Open emreds opened 8 months ago

emreds commented 8 months ago

Description

This pull request addresses the task of making default engines configurable through environment variables. Primarily, this enhancement impacts the engines utilized in client.py, specifically affecting the StabilityInference, upscale_engine, and engine.

Changes Made

Checklist

Related Issues

sonarcloud[bot] commented 8 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication