Spaces:
Running
Running
add Nova Lite and Micro
Browse files
app.py
CHANGED
@@ -182,7 +182,7 @@ with gr.Blocks(delete_cache=(86400, 86400)) as demo:
|
|
182 |
aws_token = gr.Textbox(label="AWS Session Token", elem_id="aws_token")
|
183 |
model = gr.Dropdown(label="Model", value="anthropic.claude-3-5-sonnet-20241022-v2:0", allow_custom_value=True, elem_id="model",
|
184 |
choices=["anthropic.claude-3-5-sonnet-20240620-v1:0", "anthropic.claude-3-opus-20240229-v1:0", "meta.llama3-1-405b-instruct-v1:0", "anthropic.claude-3-sonnet-20240229-v1:0", "anthropic.claude-3-haiku-20240307-v1:0", "anthropic.claude-v2:1", "anthropic.claude-v2",
|
185 |
-
"mistral.mistral-7b-instruct-v0:2", "mistral.mixtral-8x7b-instruct-v0:1", "mistral.mistral-large-2407-v1:0", "anthropic.claude-3-5-sonnet-20241022-v2:0", "us.amazon.nova-pro-v1:0"])
|
186 |
system_prompt = gr.TextArea("You are a helpful yet diligent AI assistant. Answer faithfully and factually correct. Respond with 'I do not know' if uncertain.", label="System Prompt", lines=3, max_lines=250, elem_id="system_prompt")
|
187 |
region = gr.Dropdown(label="Region", value="us-west-2", allow_custom_value=True, elem_id="region",
|
188 |
choices=["eu-central-1", "eu-west-3", "us-east-1", "us-west-1", "us-west-2"])
|
|
|
182 |
aws_token = gr.Textbox(label="AWS Session Token", elem_id="aws_token")
|
183 |
model = gr.Dropdown(label="Model", value="anthropic.claude-3-5-sonnet-20241022-v2:0", allow_custom_value=True, elem_id="model",
|
184 |
choices=["anthropic.claude-3-5-sonnet-20240620-v1:0", "anthropic.claude-3-opus-20240229-v1:0", "meta.llama3-1-405b-instruct-v1:0", "anthropic.claude-3-sonnet-20240229-v1:0", "anthropic.claude-3-haiku-20240307-v1:0", "anthropic.claude-v2:1", "anthropic.claude-v2",
|
185 |
+
"mistral.mistral-7b-instruct-v0:2", "mistral.mixtral-8x7b-instruct-v0:1", "mistral.mistral-large-2407-v1:0", "anthropic.claude-3-5-sonnet-20241022-v2:0", "us.amazon.nova-pro-v1:0", "us.amazon.nova-lite-v1:0", "us.amazon.nova-micro-v1:0"])
|
186 |
system_prompt = gr.TextArea("You are a helpful yet diligent AI assistant. Answer faithfully and factually correct. Respond with 'I do not know' if uncertain.", label="System Prompt", lines=3, max_lines=250, elem_id="system_prompt")
|
187 |
region = gr.Dropdown(label="Region", value="us-west-2", allow_custom_value=True, elem_id="region",
|
188 |
choices=["eu-central-1", "eu-west-3", "us-east-1", "us-west-1", "us-west-2"])
|