bstraehle commited on
Commit
153d569
·
1 Parent(s): bd79e1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ def invoke(openai_api_key, rag_option, prompt):
125
  raise gr.Error("Retrieval Augmented Generation is required.")
126
  if (prompt == ""):
127
  raise gr.Error("Prompt is required.")
128
- wandb.config[rag_option] = rag_option
129
  try:
130
  llm = ChatOpenAI(model_name = config.model,
131
  openai_api_key = openai_api_key,
 
125
  raise gr.Error("Retrieval Augmented Generation is required.")
126
  if (prompt == ""):
127
  raise gr.Error("Prompt is required.")
128
+ #wandb.config[rag_option] = rag_option
129
  try:
130
  llm = ChatOpenAI(model_name = config.model,
131
  openai_api_key = openai_api_key,