bstraehle commited on
Commit
20c453c
·
verified ·
1 Parent(s): dbb142d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def invoke(openai_api_key, prompt, rag_option):
32
  if (prompt == ""):
33
  raise gr.Error("Prompt is required.")
34
  if (rag_option is None):
35
- raise gr.Error("Retrieval Augmented Generation is required.")
36
 
37
  os.environ["OPENAI_API_KEY"] = openai_api_key
38
 
 
32
  if (prompt == ""):
33
  raise gr.Error("Prompt is required.")
34
  if (rag_option is None):
35
+ raise gr.Error("Retrieval-Augmented Generation is required.")
36
 
37
  os.environ["OPENAI_API_KEY"] = openai_api_key
38