Cachoups commited on
Commit
922cb11
·
verified ·
1 Parent(s): 79de3c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -231,14 +231,14 @@ def generate_text(df, country, theme):
231
  prompt = f"""
232
  Here is an example of how to describe adverse growth data for a given country:
233
  Country: Australia
234
- Adverse 2020: -0.43%
235
- Adverse 2021: -1.99%
236
- Adverse 2022: -1.20%
237
  Adverse Cumulative: -3.57%
238
  Topic: GDP
239
 
240
  Description:
241
- In the adverse scenario, the GDP growth in Australia was -0.43% in 1990. It decreased further to -1.99% in 0991, showing worsening conditions. There was a slight improvement to -1.20% in 1992. The total cumulative adverse growth is -3.57%.
242
 
243
  Now, using the following data for {theme} in {country}, describe the adverse growth:
244
  {row_str}
 
231
  prompt = f"""
232
  Here is an example of how to describe adverse growth data for a given country:
233
  Country: Australia
234
+ Adverse 1990: -0.43%
235
+ Adverse 1991: -1.99%
236
+ Adverse 1192: -1.20%
237
  Adverse Cumulative: -3.57%
238
  Topic: GDP
239
 
240
  Description:
241
+ In the adverse scenario, the GDP growth in Australia was -0.43% in 1990. It decreased further to -1.99% in 1991, showing worsening conditions. There was a slight improvement to -1.20% in 1992. The total cumulative adverse growth is -3.57%.
242
 
243
  Now, using the following data for {theme} in {country}, describe the adverse growth:
244
  {row_str}