Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -218,6 +218,7 @@ def generate_text(df, country, theme):
|
|
| 218 |
Adverse 2021: -1.987167
|
| 219 |
Adverse 2022: -1.195906
|
| 220 |
Adverse Cumulative: -3.573762
|
|
|
|
| 221 |
Summary:
|
| 222 |
In the adverse scenario, the GDP growth for France decreased by 0.427975% in 2020, worsened further by 1.987167% in 2021, and slightly improved by -1.195906% in 2022. The cumulative adverse growth is -3.573762%.
|
| 223 |
|
|
@@ -229,6 +230,7 @@ def generate_text(df, country, theme):
|
|
| 229 |
2. Include a cumulative result if applicable.
|
| 230 |
3. Use 'increase' if the value is positive and 'decrease' if the value is negative.
|
| 231 |
4. The summary should reflect the data accurately.
|
|
|
|
| 232 |
"""
|
| 233 |
|
| 234 |
|
|
|
|
| 218 |
Adverse 2021: -1.987167
|
| 219 |
Adverse 2022: -1.195906
|
| 220 |
Adverse Cumulative: -3.573762
|
| 221 |
+
|
| 222 |
Summary:
|
| 223 |
In the adverse scenario, the GDP growth for France decreased by 0.427975% in 2020, worsened further by 1.987167% in 2021, and slightly improved by -1.195906% in 2022. The cumulative adverse growth is -3.573762%.
|
| 224 |
|
|
|
|
| 230 |
2. Include a cumulative result if applicable.
|
| 231 |
3. Use 'increase' if the value is positive and 'decrease' if the value is negative.
|
| 232 |
4. The summary should reflect the data accurately.
|
| 233 |
+
5. Do not use the example's topic (GDP) or its format. Focus on the given data and topic.
|
| 234 |
"""
|
| 235 |
|
| 236 |
|