Added Output Format Selector And Adjusted Color Contrast

This commit is contained in:
Jack
2025-01-13 18:58:46 +02:00
parent ed40a7efd8
commit 54d6e8b4a8
7 changed files with 31 additions and 7 deletions
+14
View File
@@ -15,6 +15,20 @@ import io
load_dotenv()
RUNWARE_OUTPUT_FOMRATS = {
"outputFormat": (["WEBP", "PNG", "JPG"], {
"default": "WEBP",
"tooltip": "Choose the output image format."
})
}
RUNWARE_REMBG_OUTPUT_FORMATS = {
"outputFormat": (["WEBP", "PNG"], {
"default": "WEBP",
"tooltip": "Choose the output image format."
})
}
RUNWARE_API_BASE_URL = "https://api.runware.ai/v1"
session = requests.Session()
adapter = HTTPAdapter(pool_connections=10, pool_maxsize=10)