Manojajj commited on
Commit
0e4d704
·
verified ·
1 Parent(s): 5206581

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def parse_resume(text):
42
  for key, prompt in prompts.items():
43
  # Generate model response for each field
44
  inputs = tokenizer(prompt + text, return_tensors="pt")
45
- outputs = model.generate(**inputs, max_length=500)
46
  response = tokenizer.decode(outputs[0], skip_special_tokens=True)
47
 
48
  if key == 'email':
 
42
  for key, prompt in prompts.items():
43
  # Generate model response for each field
44
  inputs = tokenizer(prompt + text, return_tensors="pt")
45
+ outputs = model.generate(**inputs, max_length=50000)
46
  response = tokenizer.decode(outputs[0], skip_special_tokens=True)
47
 
48
  if key == 'email':