Update app.py
Browse files
app.py
CHANGED
|
@@ -35,8 +35,8 @@ model = HuggingFaceEndpoint(
|
|
| 35 |
task='conversational',
|
| 36 |
repo_id = repo_id,
|
| 37 |
temperature = 0.5,
|
| 38 |
-
huggingfacehub_api_token=
|
| 39 |
-
max_new_tokens =
|
| 40 |
server_kwargs={"bill_to":"cgiar"}
|
| 41 |
)
|
| 42 |
|
|
|
|
| 35 |
task='conversational',
|
| 36 |
repo_id = repo_id,
|
| 37 |
temperature = 0.5,
|
| 38 |
+
huggingfacehub_api_token=os.getenv('HF_TOKEN'),
|
| 39 |
+
max_new_tokens = 1500,
|
| 40 |
server_kwargs={"bill_to":"cgiar"}
|
| 41 |
)
|
| 42 |
|