bruno16 commited on
Commit
ea855b6
1 Parent(s): ad2034b

Update chain.py

Browse files
Files changed (1) hide show
  1. chain.py +4 -1
chain.py CHANGED
@@ -88,7 +88,7 @@ def get_answer(
88
  # Log user question
89
  logging.info(f"User question: {question}")
90
 
91
- print("File writing complete.")
92
 
93
  wandb.log({"question": question })
94
 
@@ -100,4 +100,7 @@ def get_answer(
100
  return_only_outputs=True,
101
  )
102
  response = f"Answer:\t{result['answer']}"
 
 
 
103
  return response
 
88
  # Log user question
89
  logging.info(f"User question: {question}")
90
 
91
+
92
 
93
  wandb.log({"question": question })
94
 
 
100
  return_only_outputs=True,
101
  )
102
  response = f"Answer:\t{result['answer']}"
103
+
104
+ print("File writing complete."+"quest = "+question+" answer : "+ result['answer'])
105
+
106
  return response