Spaces:
Running
Running
Update app.py
Browse files
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
|
235 |
-
Adverse
|
236 |
-
Adverse
|
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
|
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}
|