Update app.py
Browse files
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-
|
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
|
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 |
|