pratikshahp commited on
Commit
090f461
·
verified ·
1 Parent(s): 97f528e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=500
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