Danielrahmai1991 commited on
Commit
57b94d7
1 Parent(s): f19ac67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ def greet(question, model_type):
97
 
98
  print(f"question is {question}")
99
  if model_type == "With memory":
100
- out_gen = rag_chain.invoke("give me suggestion for investment")
101
  print("test5")
102
  print(f"out is: {out_gen}")
103
  else:
 
97
 
98
  print(f"question is {question}")
99
  if model_type == "With memory":
100
+ out_gen = rag_chain.invoke(question)
101
  print("test5")
102
  print(f"out is: {out_gen}")
103
  else: