bstraehle commited on
Commit
56e913b
1 Parent(s): 12aad0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ bedrock_runtime = boto3.client(
23
  )
24
 
25
  def invoke(prompt):
26
- if (prompt == ""):
27
  raise gr.Error("Prompt is required.")
28
 
29
  raise gr.Error("Clone and bring your own credentials.")
 
23
  )
24
 
25
  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.")