ppsingh commited on
Commit
ab62e16
1 Parent(s): ee5bae7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -213,7 +213,7 @@ async def chat(query,history,sources,reports,subtype,year):
213
  #callbacks = [StreamingStdOutCallbackHandler()]
214
  llm_qa = HuggingFaceEndpoint(
215
  endpoint_url= model_config.get('reader','ENDPOINT'),
216
- max_new_tokens=1024,
217
  huggingfacehub_api_token=HF_token,)
218
 
219
  # create rag chain
 
213
  #callbacks = [StreamingStdOutCallbackHandler()]
214
  llm_qa = HuggingFaceEndpoint(
215
  endpoint_url= model_config.get('reader','ENDPOINT'),
216
+ max_new_tokens=512,
217
  huggingfacehub_api_token=HF_token,)
218
 
219
  # create rag chain