Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -123,7 +123,7 @@ llm = HuggingFaceEndpoint(
|
|
| 123 |
repo_id="google/flan-t5-xl",
|
| 124 |
huggingfacehub_api_token=hf_token,
|
| 125 |
temperature=0.2,
|
| 126 |
-
|
| 127 |
)
|
| 128 |
|
| 129 |
|
|
|
|
| 123 |
repo_id="google/flan-t5-xl",
|
| 124 |
huggingfacehub_api_token=hf_token,
|
| 125 |
temperature=0.2,
|
| 126 |
+
max_new_tokens=1024
|
| 127 |
)
|
| 128 |
|
| 129 |
|