asd
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def process_and_generate(text):
|
|
58 |
all_text_variations = ["\n\n".join(variation) for variation in itertools.product(*all_paragraph_combinations)]
|
59 |
|
60 |
# Limit the number of variations to prevent overwhelming output
|
61 |
-
max_variations =
|
62 |
all_text_variations = all_text_variations[:max_variations]
|
63 |
|
64 |
final_output = "All Paraphrase Combinations:\n\n" + "\n\n---\n\n".join(all_text_variations)
|
|
|
58 |
all_text_variations = ["\n\n".join(variation) for variation in itertools.product(*all_paragraph_combinations)]
|
59 |
|
60 |
# Limit the number of variations to prevent overwhelming output
|
61 |
+
max_variations = 100
|
62 |
all_text_variations = all_text_variations[:max_variations]
|
63 |
|
64 |
final_output = "All Paraphrase Combinations:\n\n" + "\n\n---\n\n".join(all_text_variations)
|