Cachoups commited on
Commit
5857e91
·
verified ·
1 Parent(s): 7d68525

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -217,14 +217,14 @@ def generate_text(df, country, theme):
217
  The theme is GDP
218
 
219
  The output:
220
- In adverse scenario, the growth for GDP in France is -0.427975% in 2018 and isn't getting better in 2019 with -1.98767% and -1.195906% in 2022.
221
 
222
  Here is another table:
223
  {row_str}
224
 
225
  The theme is {theme}
226
 
227
- Summarize the adverse scenario growth for {theme} in {country} based on the data above, following a similar pattern to the example for France.
228
  """
229
 
230
  # Generate the descriptive text using the model
 
217
  The theme is GDP
218
 
219
  The output:
220
+ In adverse scenario, the growth for GDP in France is -0.427975% in 2020, -1.98767% in 2021 and -1.195906% in 2022.
221
 
222
  Here is another table:
223
  {row_str}
224
 
225
  The theme is {theme}
226
 
227
+ Summarize the adverse scenario growth for {theme} in {country} based on the data above, following a similar pattern to the example for France and add the words increase and decrease depending of numerical values.
228
  """
229
 
230
  # Generate the descriptive text using the model