Update app.py
Browse files
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": "", "
|
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 |
|