bstraehle commited on
Commit
df78852
1 Parent(s): 1a1af3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ aws_secret_access_key = os.environ["AWS_SECRET_ACCESS_KEY"]
9
 
10
  config = {
11
  "max_tokens_to_sample": 1000,
12
- "model": "anthropic.claude-3-opus-20240229-v1:0",
13
  "temperature": 0,
14
  "top_k": 250,
15
  "top_p": 0.999,
@@ -56,7 +56,7 @@ def invoke(prompt):
56
  return completion
57
 
58
  description = """<a href='https://www.gradio.app/'>Gradio</a> UI using the <a href='https://aws.amazon.com/bedrock/'>Amazon Bedrock</a> API
59
- with <a href='https://www.anthropic.com/'>Anthropic</a> Claude 3 model."""
60
 
61
  gr.close_all()
62
 
 
9
 
10
  config = {
11
  "max_tokens_to_sample": 1000,
12
+ "model": "anthropic.claude-v2",
13
  "temperature": 0,
14
  "top_k": 250,
15
  "top_p": 0.999,
 
56
  return completion
57
 
58
  description = """<a href='https://www.gradio.app/'>Gradio</a> UI using the <a href='https://aws.amazon.com/bedrock/'>Amazon Bedrock</a> API
59
+ with <a href='https://www.anthropic.com/'>Anthropic</a> Claude 2 model."""
60
 
61
  gr.close_all()
62