Spaces:
Paused
Paused
max tokens again
Browse files
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=
|
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 |
|