Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ llm = HuggingFaceEndpoint(
|
|
| 22 |
temperature=0.7,
|
| 23 |
top_p=0.9,
|
| 24 |
repetition_penalty=1.1,
|
| 25 |
-
|
| 26 |
huggingfacehub_api_token=os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
| 27 |
)
|
| 28 |
|
|
|
|
| 22 |
temperature=0.7,
|
| 23 |
top_p=0.9,
|
| 24 |
repetition_penalty=1.1,
|
| 25 |
+
max_new_tokens=1024,
|
| 26 |
huggingfacehub_api_token=os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
| 27 |
)
|
| 28 |
|