saifeddinemk commited on
Commit
b0338f5
1 Parent(s): 45e4723

Fixed app v2

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def match_cv_to_jobs(cv_text, job_descriptions_text):
42
  # Generate response from the causal model
43
  inputs = tokenizer(prompt, return_tensors="pt")
44
  try:
45
- outputs = causal_model.generate(**inputs, max_length=200)
46
  response_content = tokenizer.batch_decode(outputs, skip_special_tokens=True)[0]
47
  debug_info += f"Model Response: {response_content}\n"
48
 
 
42
  # Generate response from the causal model
43
  inputs = tokenizer(prompt, return_tensors="pt")
44
  try:
45
+ outputs = causal_model.generate(**inputs, max_length=1024)
46
  response_content = tokenizer.batch_decode(outputs, skip_special_tokens=True)[0]
47
  debug_info += f"Model Response: {response_content}\n"
48