Spaces:
Sleeping
Sleeping
burtenshaw
commited on
Commit
·
6a824e9
1
Parent(s):
17ce9a8
fix param naming
Browse files- app/app.py +1 -1
app/app.py
CHANGED
@@ -199,7 +199,7 @@ def call_pipeline(messages: list, language: str):
|
|
199 |
response = CLIENT(
|
200 |
messages,
|
201 |
clean_up_tokenization_spaces=False,
|
202 |
-
|
203 |
)
|
204 |
content = response[0]["generated_text"][-1]["content"]
|
205 |
return content
|
|
|
199 |
response = CLIENT(
|
200 |
messages,
|
201 |
clean_up_tokenization_spaces=False,
|
202 |
+
max_length=2000,
|
203 |
)
|
204 |
content = response[0]["generated_text"][-1]["content"]
|
205 |
return content
|