produces the correct html code and summary. Next objective is to be able to push it to wordpress directly from this gradio UI.

This commit is contained in:
shahab00x 2024-02-20 00:15:07 +03:30
parent ac967cc76a
commit 44580776bd

View File

@ -44,7 +44,9 @@ def write_article(url):
# prompt_for_ai = ("Write a summary of the following product and an overview of people's experiences based on the "
# "provided reviews of it as follows. Format it nicely and professionally in HTML:\n\n") + text
prompt_for_ai = "write a succinct summary article about this product. Format it nicely in HTML:\n\n" + text
# prompt_for_ai = "write a succinct summary article about this product. Format it nicely in HTML:\n\n" + text
prompt_for_ai = ("write an article containing a short summary of the following product and an overview of people's "
"experiences based on the provided reviews of it as follows. Format it nicely in HTML:\n") + text
# prompt_for_ai = (f"Write an HTML code that includes a professionally authored article summary of the following "
# f"product and an overview of people's experiences based on the provided reviews of it as "