Omnibus commited on
Commit
5396dfd
·
verified ·
1 Parent(s): 6f68250

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -104,11 +104,9 @@ Data:
104
  Compile the data above into a JSON formatted output that contains all data relevant to the task
105
  Include datapoints that will provide greater accuracy in completing the task
106
  Include all relevant information in great detail
107
- Return the data in JSON format
108
- format:
109
- ```json
110
  {output_format}
111
- ```
112
  """
113
  output_format="""{"title": "title of the first article","description": "description of the article","article": "your custom written article","links": "all source links that have contributed to the article"},{"title": "title of the second article","description": "description of the article","article": "your custom written article","links": "all source links that have contributed to the article"}"""
114
  def summarize(inp,history,seed_slider,data=None):
 
104
  Compile the data above into a JSON formatted output that contains all data relevant to the task
105
  Include datapoints that will provide greater accuracy in completing the task
106
  Include all relevant information in great detail
107
+ Return ONLY the JSON data
108
+ output format:
 
109
  {output_format}
 
110
  """
111
  output_format="""{"title": "title of the first article","description": "description of the article","article": "your custom written article","links": "all source links that have contributed to the article"},{"title": "title of the second article","description": "description of the article","article": "your custom written article","links": "all source links that have contributed to the article"}"""
112
  def summarize(inp,history,seed_slider,data=None):