Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ llm = HuggingFaceEndpoint(
|
|
13 |
repo_id="flax-community/t5-recipe-generation",
|
14 |
huggingfacehub_api_token=HF_TOKEN.strip(),
|
15 |
temperature=0.7,
|
16 |
-
max_new_tokens=
|
17 |
)
|
18 |
|
19 |
# Recipe generation function
|
|
|
13 |
repo_id="flax-community/t5-recipe-generation",
|
14 |
huggingfacehub_api_token=HF_TOKEN.strip(),
|
15 |
temperature=0.7,
|
16 |
+
max_new_tokens=150
|
17 |
)
|
18 |
|
19 |
# Recipe generation function
|