Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -165,7 +165,7 @@ async def chat(query,history,sources,reports,subtype,year):
|
|
165 |
"question":query,
|
166 |
"sources":sources,
|
167 |
"retriever":model_config.get('retriever','MODEL'),
|
168 |
-
"endpoint_type":model_config.get('reader','TYPE')
|
169 |
"raeder":model_config.get('reader','NVIDIA_MODEL'),
|
170 |
"docs":[doc.page_content for doc in context_retrieved],
|
171 |
"answer": history[-1][1],
|
|
|
165 |
"question":query,
|
166 |
"sources":sources,
|
167 |
"retriever":model_config.get('retriever','MODEL'),
|
168 |
+
"endpoint_type":model_config.get('reader','TYPE'),
|
169 |
"raeder":model_config.get('reader','NVIDIA_MODEL'),
|
170 |
"docs":[doc.page_content for doc in context_retrieved],
|
171 |
"answer": history[-1][1],
|