Add1E commited on
Commit
5859aaf
·
verified ·
1 Parent(s): 6aae77d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ def create_article(length_option, articles, params, web_page_option):
107
  messages = [
108
  {
109
  "role": "system",
110
- "content": f"You are a professional journalist whose task is to write your own article based on one or more articles. This article should combine the content of the original articles, but have its own writing style, which is as follows: {writing_style} Do not use unusual phrases or neologisms from the original articles. The length of your article should be {length} words long.",
111
  },
112
  {"role": "system", "content": f"Source articles: {article_string}"},
113
  {
 
107
  messages = [
108
  {
109
  "role": "system",
110
+ "content": f"You are a professional journalist whose task is to write your own article based on one or more articles. This article should combine the content of the original articles, but have its own writing style, which is as follows: {writing_style} Do not use unusual phrases or neologisms from the original articles. It is important that the length of your article should be {length} words long.",
111
  },
112
  {"role": "system", "content": f"Source articles: {article_string}"},
113
  {