Cachoups commited on
Commit
e83043c
·
verified ·
1 Parent(s): acbf0b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -217,15 +217,15 @@ def generate_text(df, country, theme):
217
  Adverse 2021: -1.987167
218
  Adverse 2022: -1.195906
219
  Adverse Cumulative: -3.573762
220
-
221
  The topic is GDP.
 
222
  Summary:
223
  In the adverse scenario, the growth for GDP in Australia decreased by -0.427975% in 2020, worsened further by -1.987167% in 2021, and slightly improved by -1.195906% in 2022, resulting in an adverse cumulative decrease of -3.573762%.
224
 
225
  Now, use the following data for {theme} in {country} to generate a similar summary:
226
  {row_str}
227
-
228
- The topic is {theme}. Ensure that the summary reflects the theme accurately and follows the pattern from the example. Use terms 'increase' and 'decrease' to describe changes in values, and make sure the output aligns with the provided data.
229
  """
230
 
231
 
 
217
  Adverse 2021: -1.987167
218
  Adverse 2022: -1.195906
219
  Adverse Cumulative: -3.573762
 
220
  The topic is GDP.
221
+
222
  Summary:
223
  In the adverse scenario, the growth for GDP in Australia decreased by -0.427975% in 2020, worsened further by -1.987167% in 2021, and slightly improved by -1.195906% in 2022, resulting in an adverse cumulative decrease of -3.573762%.
224
 
225
  Now, use the following data for {theme} in {country} to generate a similar summary:
226
  {row_str}
227
+ The topic is {theme}.
228
+ Summarize and ensure that the summary reflects the theme accurately and follows the pattern from the example. Use terms 'increase' and 'decrease' to describe changes in values. Make sure the output aligns with the provided data.
229
  """
230
 
231