bstraehle commited on
Commit
f070985
1 Parent(s): 1c0e381

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ def wandb_trace(rag_option, prompt, completion, status_msg, start_time_ms, end_t
120
  wandb.init(project = "openai-llm-rag")
121
  if (rag_option == "Off"):
122
  result = completion
123
- else
124
  result = completion["result"]
125
  document_0_page_content = completion["source_documents"][0]["page_content"]
126
  document_0_metadata = completion["source_documents"][0]["metadata"]
 
120
  wandb.init(project = "openai-llm-rag")
121
  if (rag_option == "Off"):
122
  result = completion
123
+ else:
124
  result = completion["result"]
125
  document_0_page_content = completion["source_documents"][0]["page_content"]
126
  document_0_metadata = completion["source_documents"][0]["metadata"]