bstraehle commited on
Commit
342d78c
1 Parent(s): 53b4b86

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": 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,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": 1000,
12
+ "model": "anthropic.claude-3-opus-20240229-v1:0",
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("Please clone and bring your own credentials.")
30
 
31
  completion = ""
32