Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
@@ -19,7 +19,7 @@ def generer_prompt_seo(titre_article, mot_cle_principal, ton_cible, mots_cles_as
|
|
19 |
if optional_text :
|
20 |
p=f"""Données optionnel sur l'article : {optional_text}"""
|
21 |
else:
|
22 |
-
p=""
|
23 |
prompt = f"""
|
24 |
CONTEXTE:
|
25 |
Veuillez écrire un article de 1500 - 2000 mots. N'hésitez pas à prendre votre temps pour réfléchir à votre réponse j'ai besoin d'un long article.
|
@@ -53,7 +53,7 @@ def generate_seo_prompt(article_title, main_keyword, target_tone, associated_key
|
|
53 |
if optional_text :
|
54 |
p=f"""Optional article data : {optional_text}"""
|
55 |
else:
|
56 |
-
p=""
|
57 |
prompt = f"""
|
58 |
CONTEXT:
|
59 |
Please write an article of 1500 - 2000 words. Feel free to take your time to think about your response, I need a long article.
|
|
|
19 |
if optional_text :
|
20 |
p=f"""Données optionnel sur l'article : {optional_text}"""
|
21 |
else:
|
22 |
+
p=""""""
|
23 |
prompt = f"""
|
24 |
CONTEXTE:
|
25 |
Veuillez écrire un article de 1500 - 2000 mots. N'hésitez pas à prendre votre temps pour réfléchir à votre réponse j'ai besoin d'un long article.
|
|
|
53 |
if optional_text :
|
54 |
p=f"""Optional article data : {optional_text}"""
|
55 |
else:
|
56 |
+
p=""""""
|
57 |
prompt = f"""
|
58 |
CONTEXT:
|
59 |
Please write an article of 1500 - 2000 words. Feel free to take your time to think about your response, I need a long article.
|