bstraehle commited on
Commit
7841594
1 Parent(s): eedb77b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def invoke(openai_api_key, use_rag, prompt):
45
  result = result["result"]
46
  else:
47
  chain = LLMChain(llm = llm, prompt = CHAIN_PROMPT)
48
- result = chain.run({"context": "", "query": prompt})
49
  #print(result)
50
  return result
51
 
 
45
  result = result["result"]
46
  else:
47
  chain = LLMChain(llm = llm, prompt = CHAIN_PROMPT)
48
+ result = chain.run({"context": "", "question": prompt})
49
  #print(result)
50
  return result
51