add grok to cloud models

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-09-07 09:20:58 +02:00
parent 0a94b2d8ae
commit fe03d7b38e
9 changed files with 210 additions and 58 deletions
+2
View File
@@ -113,6 +113,8 @@ def create_settings(cmd_opts):
"google_api_key": OptionInfo("", "Google cloud API key", gr.Textbox, secret=True, env_var='GOOGLE_API_KEY'),
"google_project_id": OptionInfo("", "Google Cloud project ID", gr.Textbox, secret=True, env_var='GOOGLE_PROJECT_ID'),
"google_location_id": OptionInfo("", "Google Cloud location ID", gr.Textbox),
"model_xai_sep": OptionInfo("<h2>XAI Grok</h2>", "", gr.HTML),
"xai_api_key": OptionInfo("", "XAI Grok API key", gr.Textbox, secret=True, env_var='XAI_API_KEY'),
"model_krea2_sep": OptionInfo("<h2>Krea 2</h2>", "", gr.HTML),
"model_krea2_dense": OptionInfo(False, "Use dense masking"),
"model_sd3_sep": OptionInfo("<h2>Stable Diffusion 3.x</h2>", "", gr.HTML),