ndurner commited on
Commit
7b395f2
·
1 Parent(s): 1ead00b

add Sonnet 3.5

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -135,8 +135,8 @@ with gr.Blocks() as demo:
135
  aws_access = gr.Textbox(label="AWS Access Key", elem_id="aws_access")
136
  aws_secret = gr.Textbox(label="AWS Secret Key", elem_id="aws_secret")
137
  aws_token = gr.Textbox(label="AWS Session Token", elem_id="aws_token")
138
- model = gr.Dropdown(label="Model", value="anthropic.claude-3-opus-20240229-v1:0", allow_custom_value=True, elem_id="model",
139
- choices=["anthropic.claude-3-opus-20240229-v1:0", "anthropic.claude-3-sonnet-20240229-v1:0", "anthropic.claude-3-haiku-20240307-v1:0", "anthropic.claude-v2:1", "anthropic.claude-v2",
140
  "mistral.mistral-7b-instruct-v0:2", "mistral.mixtral-8x7b-instruct-v0:1", "mistral.mistral-large-2402-v1:0"])
141
  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")
142
  region = gr.Dropdown(label="Region", value="us-west-2", allow_custom_value=True, elem_id="region",
 
135
  aws_access = gr.Textbox(label="AWS Access Key", elem_id="aws_access")
136
  aws_secret = gr.Textbox(label="AWS Secret Key", elem_id="aws_secret")
137
  aws_token = gr.Textbox(label="AWS Session Token", elem_id="aws_token")
138
+ model = gr.Dropdown(label="Model", value="anthropic.claude-3-5-sonnet-20240620-v1:0", allow_custom_value=True, elem_id="model",
139
+ choices=["anthropic.claude-3-5-sonnet-20240620-v1:0", "anthropic.claude-3-opus-20240229-v1:0", "anthropic.claude-3-sonnet-20240229-v1:0", "anthropic.claude-3-haiku-20240307-v1:0", "anthropic.claude-v2:1", "anthropic.claude-v2",
140
  "mistral.mistral-7b-instruct-v0:2", "mistral.mixtral-8x7b-instruct-v0:1", "mistral.mistral-large-2402-v1:0"])
141
  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")
142
  region = gr.Dropdown(label="Region", value="us-west-2", allow_custom_value=True, elem_id="region",