ppsingh commited on
Commit
7e87d01
Β·
verified Β·
1 Parent(s): 2024922

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -91,9 +91,8 @@ async def chat(query,history,sources,reports):
91
  task="text-generation",
92
  huggingfacehub_api_token=HF_token,
93
  truncate = 1500,
94
- stop=["<|eot_id|>"],
95
  streaming=True,
96
- model_kwargs = {})
97
 
98
 
99
  # create rag chain
 
91
  task="text-generation",
92
  huggingfacehub_api_token=HF_token,
93
  truncate = 1500,
 
94
  streaming=True,
95
+ model_kwargs = {'stop':["<|eot_id|>"]})
96
 
97
 
98
  # create rag chain