Spaces:
Running
on
Zero
Running
on
Zero
gokaygokay
commited on
Commit
•
782ecd3
1
Parent(s):
f35350e
Update ui_components.py
Browse files- ui_components.py +1 -2
ui_components.py
CHANGED
@@ -131,7 +131,7 @@ def create_interface():
|
|
131 |
|
132 |
# Add new components for LLM provider selection
|
133 |
llm_provider = gr.Dropdown(
|
134 |
-
choices=["Hugging Face", "
|
135 |
label="LLM Provider",
|
136 |
value="Hugging Face"
|
137 |
)
|
@@ -201,7 +201,6 @@ def create_interface():
|
|
201 |
def update_model_choices(provider):
|
202 |
provider_models = {
|
203 |
"Hugging Face": ["Qwen/Qwen2.5-72B-Instruct", "meta-llama/Meta-Llama-3.1-70B-Instruct", "mistralai/Mixtral-8x7B-Instruct-v0.1", "mistralai/Mistral-7B-Instruct-v0.3"],
|
204 |
-
"Groq": ["llama-3.2-90b-text-preview", "llama-3.1-70b-versatile", "mixtral-8x7b-32768"],
|
205 |
"OpenAI": ["gpt-4o", "gpt-4o-mini"],
|
206 |
"Anthropic": ["claude-3-5-sonnet-20240620"],
|
207 |
"SambaNova": ["Meta-Llama-3.1-70B-Instruct", "Meta-Llama-3.1-405B-Instruct", "Meta-Llama-3.1-8B-Instruct"],
|
|
|
131 |
|
132 |
# Add new components for LLM provider selection
|
133 |
llm_provider = gr.Dropdown(
|
134 |
+
choices=["Hugging Face", "SambaNova", "OpenAI", "Anthropic"],
|
135 |
label="LLM Provider",
|
136 |
value="Hugging Face"
|
137 |
)
|
|
|
201 |
def update_model_choices(provider):
|
202 |
provider_models = {
|
203 |
"Hugging Face": ["Qwen/Qwen2.5-72B-Instruct", "meta-llama/Meta-Llama-3.1-70B-Instruct", "mistralai/Mixtral-8x7B-Instruct-v0.1", "mistralai/Mistral-7B-Instruct-v0.3"],
|
|
|
204 |
"OpenAI": ["gpt-4o", "gpt-4o-mini"],
|
205 |
"Anthropic": ["claude-3-5-sonnet-20240620"],
|
206 |
"SambaNova": ["Meta-Llama-3.1-70B-Instruct", "Meta-Llama-3.1-405B-Instruct", "Meta-Llama-3.1-8B-Instruct"],
|