Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -180,6 +180,8 @@ async def ask(query: Query):
|
|
180 |
@app.post("/chat")
|
181 |
def chat(query: Query):
|
182 |
|
|
|
|
|
183 |
prompt = generate_prompt(query.question)
|
184 |
|
185 |
response = qa_chain.run(prompt)
|
|
|
180 |
@app.post("/chat")
|
181 |
def chat(query: Query):
|
182 |
|
183 |
+
logger.debug(f"Received question: {query.question}")
|
184 |
+
|
185 |
prompt = generate_prompt(query.question)
|
186 |
|
187 |
response = qa_chain.run(prompt)
|