ysharma HF staff commited on
Commit
437c85b
β€’
1 Parent(s): cd03e3d

update max_new_tokens

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def meme_generate(img, prompt, temp, top_p): #prompt, generated_txt): #, input_p
54
  "parameters":
55
  {
56
  "top_p": top_p, #0.90 default
57
- "max_new_tokens": 250,
58
  "temperature": temp, #1.1 default
59
  "return_full_text": True,
60
  "do_sample": True,
 
54
  "parameters":
55
  {
56
  "top_p": top_p, #0.90 default
57
+ "max_new_tokens": 64,
58
  "temperature": temp, #1.1 default
59
  "return_full_text": True,
60
  "do_sample": True,