FrederickSundeep commited on
Commit
84ec51f
·
1 Parent(s): 58966c7

update file 038

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ def generate_ticket():
84
  issue=issue
85
  )
86
 
87
- raw = generator(prompt,max_new_tokens=250,do_sample=True, top_p=0.9,return_full_text=False)[0]["generated_text"]
88
 
89
  # Strip the prompt itself, leaving only the new content
90
  if raw.startswith(prompt):
 
84
  issue=issue
85
  )
86
 
87
+ raw = generator(prompt,max_new_tokens=200,do_sample=True)[0]["generated_text"]
88
 
89
  # Strip the prompt itself, leaving only the new content
90
  if raw.startswith(prompt):