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:
parent
ac967cc76a
commit
44580776bd
4
webui.py
4
webui.py
@ -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 "
|
# 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
|
# "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 "
|
# 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 "
|
# f"product and an overview of people's experiences based on the provided reviews of it as "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user