Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,6 @@ async def chat(query,history,sources,reports):
|
|
90 |
endpoint_url= "https://mnczdhmrf7lkfd9d.eu-west-1.aws.endpoints.huggingface.cloud",
|
91 |
task="text-generation",
|
92 |
huggingfacehub_api_token=HF_token,
|
93 |
-
truncate = 1500,
|
94 |
model_kwargs = {'stop':["<|eot_id|>"]})
|
95 |
|
96 |
|
|
|
90 |
endpoint_url= "https://mnczdhmrf7lkfd9d.eu-west-1.aws.endpoints.huggingface.cloud",
|
91 |
task="text-generation",
|
92 |
huggingfacehub_api_token=HF_token,
|
|
|
93 |
model_kwargs = {'stop':["<|eot_id|>"]})
|
94 |
|
95 |
|