Spaces:
Running
Running
Adjusted short and middle article lengths
Browse files
app.py
CHANGED
@@ -13,9 +13,9 @@ def create_article(length_option, articles, params):
|
|
13 |
article_string = "; ".join(f"Artikel {index + 1}: {artikel}" for index, artikel in enumerate(articles))
|
14 |
|
15 |
if length_option == "Kurz":
|
16 |
-
length =
|
17 |
elif length_option == "Mittel":
|
18 |
-
length =
|
19 |
elif length_option == "Lang":
|
20 |
length = 20
|
21 |
|
|
|
13 |
article_string = "; ".join(f"Artikel {index + 1}: {artikel}" for index, artikel in enumerate(articles))
|
14 |
|
15 |
if length_option == "Kurz":
|
16 |
+
length = 8
|
17 |
elif length_option == "Mittel":
|
18 |
+
length = 14
|
19 |
elif length_option == "Lang":
|
20 |
length = 20
|
21 |
|