Spaces:
Running
Running
Update app/main.py
Browse files- app/main.py +1 -1
app/main.py
CHANGED
|
@@ -27,7 +27,7 @@ async def ask(request: Request, query: str = Form(...)):
|
|
| 27 |
context = "\n\n".join(retrieved)
|
| 28 |
|
| 29 |
# Ask the model
|
| 30 |
-
answer =
|
| 31 |
|
| 32 |
return templates.TemplateResponse(
|
| 33 |
"index.html",
|
|
|
|
| 27 |
context = "\n\n".join(retrieved)
|
| 28 |
|
| 29 |
# Ask the model
|
| 30 |
+
answer = generate_answer(context, query)
|
| 31 |
|
| 32 |
return templates.TemplateResponse(
|
| 33 |
"index.html",
|