Nymbo commited on
Commit
ee88838
·
verified ·
1 Parent(s): 8206fd5

max tokens again

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def convert_html(html_input, output_format):
37
  print("[DEBUG] Generated prompt:", prompt) # Debug log for the prompt
38
 
39
  # Use the model to generate the conversion output
40
- response = html_converter(prompt, max_length=500, num_return_sequences=1)
41
  print("[DEBUG] Model response:", response) # Debug log for model response
42
  converted_output = response[0]['generated_text'] # Extract the generated text from the model response
43
 
 
37
  print("[DEBUG] Generated prompt:", prompt) # Debug log for the prompt
38
 
39
  # Use the model to generate the conversion output
40
+ response = html_converter(prompt, max_length=99999, num_return_sequences=1)
41
  print("[DEBUG] Model response:", response) # Debug log for model response
42
  converted_output = response[0]['generated_text'] # Extract the generated text from the model response
43