Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -97,15 +97,19 @@ def run_gpt(
|
|
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
-
NEWS_REPORTER="""You are an RSS News Aggregator. Your duty is to
|
| 101 |
Your Workflow should be:
|
| 102 |
1. Read provided data
|
| 103 |
2. Sort data into relevant articles
|
| 104 |
3. Return only JSON data in the Output Format
|
| 105 |
Output Format:
|
| 106 |
-
|
|
|
|
| 107 |
{output_format}
|
| 108 |
```
|
|
|
|
|
|
|
|
|
|
| 109 |
Provided News Articles:
|
| 110 |
{new_data}
|
| 111 |
"""
|
|
|
|
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
+
NEWS_REPORTER="""You are an RSS News Aggregator. Your duty is to return a JSON file from the unsorted JSON data that you are provided.
|
| 101 |
Your Workflow should be:
|
| 102 |
1. Read provided data
|
| 103 |
2. Sort data into relevant articles
|
| 104 |
3. Return only JSON data in the Output Format
|
| 105 |
Output Format:
|
| 106 |
+
##############
|
| 107 |
+
```json
|
| 108 |
{output_format}
|
| 109 |
```
|
| 110 |
+
end
|
| 111 |
+
##############
|
| 112 |
+
|
| 113 |
Provided News Articles:
|
| 114 |
{new_data}
|
| 115 |
"""
|