Spaces:
Paused
Paused
feat(tools): add FLUX schnell as default image generation tool on HuggingChat
Browse files- chart/env/prod.yaml +6 -26
chart/env/prod.yaml
CHANGED
|
@@ -336,7 +336,7 @@ envVars:
|
|
| 336 |
"description": "Use this tool to generate images based on a prompt.",
|
| 337 |
"color": "yellow",
|
| 338 |
"icon": "camera",
|
| 339 |
-
"baseUrl": "
|
| 340 |
"name": "image_generation",
|
| 341 |
"endpoint": "/infer",
|
| 342 |
"inputs": [
|
|
@@ -346,19 +346,7 @@ envVars:
|
|
| 346 |
"paramType": "required",
|
| 347 |
"type": "str"
|
| 348 |
},
|
| 349 |
-
{
|
| 350 |
-
"name": "negative_prompt",
|
| 351 |
-
"description": "A prompt for things that should not be in the image.",
|
| 352 |
-
"paramType": "optional",
|
| 353 |
-
"default": "",
|
| 354 |
-
"type": "str"
|
| 355 |
-
},
|
| 356 |
-
{
|
| 357 |
-
"name": "seed",
|
| 358 |
-
"paramType": "fixed",
|
| 359 |
-
"value": "0",
|
| 360 |
-
"type": "float"
|
| 361 |
-
},
|
| 362 |
{
|
| 363 |
"name": "randomize_seed",
|
| 364 |
"paramType": "fixed",
|
|
@@ -367,30 +355,22 @@ envVars:
|
|
| 367 |
},
|
| 368 |
{
|
| 369 |
"name": "width",
|
| 370 |
-
"description": "numeric value between 256 and
|
| 371 |
"paramType": "optional",
|
| 372 |
"default": 1024,
|
| 373 |
"type": "float"
|
| 374 |
},
|
| 375 |
{
|
| 376 |
"name": "height",
|
| 377 |
-
"description": "numeric value between 256 and
|
| 378 |
"paramType": "optional",
|
| 379 |
"default": 1024,
|
| 380 |
"type": "float"
|
| 381 |
},
|
| 382 |
-
{
|
| 383 |
-
"name": "guidance_scale",
|
| 384 |
-
"description": "numeric value between 0.0 and 10.0",
|
| 385 |
-
"paramType": "optional",
|
| 386 |
-
"default": 5,
|
| 387 |
-
"type": "float"
|
| 388 |
-
},
|
| 389 |
{
|
| 390 |
"name": "num_inference_steps",
|
| 391 |
-
"
|
| 392 |
-
"
|
| 393 |
-
"default": 28,
|
| 394 |
"type": "float"
|
| 395 |
}
|
| 396 |
],
|
|
|
|
| 336 |
"description": "Use this tool to generate images based on a prompt.",
|
| 337 |
"color": "yellow",
|
| 338 |
"icon": "camera",
|
| 339 |
+
"baseUrl": "black-forest-labs/FLUX.1-schnell",
|
| 340 |
"name": "image_generation",
|
| 341 |
"endpoint": "/infer",
|
| 342 |
"inputs": [
|
|
|
|
| 346 |
"paramType": "required",
|
| 347 |
"type": "str"
|
| 348 |
},
|
| 349 |
+
{ "name": "seed", "paramType": "fixed", "value": "0", "type": "float" },
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 350 |
{
|
| 351 |
"name": "randomize_seed",
|
| 352 |
"paramType": "fixed",
|
|
|
|
| 355 |
},
|
| 356 |
{
|
| 357 |
"name": "width",
|
| 358 |
+
"description": "numeric value between 256 and 2048",
|
| 359 |
"paramType": "optional",
|
| 360 |
"default": 1024,
|
| 361 |
"type": "float"
|
| 362 |
},
|
| 363 |
{
|
| 364 |
"name": "height",
|
| 365 |
+
"description": "numeric value between 256 and 2048",
|
| 366 |
"paramType": "optional",
|
| 367 |
"default": 1024,
|
| 368 |
"type": "float"
|
| 369 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 370 |
{
|
| 371 |
"name": "num_inference_steps",
|
| 372 |
+
"paramType": "fixed",
|
| 373 |
+
"value": "4",
|
|
|
|
| 374 |
"type": "float"
|
| 375 |
}
|
| 376 |
],
|