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-v2",
|
13 |
"temperature": 0,
|
14 |
"top_k": 250,
|
15 |
"top_p": 0.999,
|
@@ -26,7 +26,7 @@ def invoke(prompt):
|
|
26 |
if not prompt:
|
27 |
raise gr.Error("Prompt is required.")
|
28 |
|
29 |
-
raise gr.Error("Clone and bring your own credentials.")
|
30 |
|
31 |
completion = ""
|
32 |
|
|
|
9 |
|
10 |
config = {
|
11 |
"max_tokens_to_sample": 1000,
|
12 |
+
"model": "anthropic.claude-3-opus-20240229-v1:0", #"anthropic.claude-v2",
|
13 |
"temperature": 0,
|
14 |
"top_k": 250,
|
15 |
"top_p": 0.999,
|
|
|
26 |
if not prompt:
|
27 |
raise gr.Error("Prompt is required.")
|
28 |
|
29 |
+
#raise gr.Error("Clone and bring your own credentials.")
|
30 |
|
31 |
completion = ""
|
32 |
|