bstraehle commited on
Commit
caa2dce
·
verified ·
1 Parent(s): 0330f37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -26,7 +26,7 @@ def invoke(prompt):
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
 
@@ -58,14 +58,14 @@ def invoke(prompt):
58
 
59
  raise gr.Error(e)
60
 
61
- print("---")
62
- print(completion)
63
- print("---")
64
 
65
  return completion
66
 
67
  description = """<a href='https://www.gradio.app/'>Gradio</a> UI using the <a href='https://aws.amazon.com/bedrock/'>Amazon Bedrock</a> SDK
68
- with <a href='https://www.anthropic.com/'>Anthropic</a> Claude 3 model."""
69
 
70
  gr.close_all()
71
 
 
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
 
 
58
 
59
  raise gr.Error(e)
60
 
61
+ #print("---")
62
+ #print(completion)
63
+ #print("---")
64
 
65
  return completion
66
 
67
  description = """<a href='https://www.gradio.app/'>Gradio</a> UI using the <a href='https://aws.amazon.com/bedrock/'>Amazon Bedrock</a> SDK
68
+ with <a href='https://www.anthropic.com/'>Anthropic</a> Claude 3.5 Haiku model."""
69
 
70
  gr.close_all()
71