Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -226,21 +226,10 @@ def generate_text(df, country, theme):
|
|
226 |
|
227 |
Description:
|
228 |
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%.
|
229 |
-
|
230 |
-
Example 2 (Poland - HICP):
|
231 |
-
Country: Poland
|
232 |
-
Adverse 2023: 17.656378
|
233 |
-
Adverse 2024: 8.188389
|
234 |
-
Adverse 2025: 4.321625
|
235 |
-
Adverse Cumulative: 32.79156
|
236 |
-
The topic is HICP.
|
237 |
-
|
238 |
-
Description:
|
239 |
-
In the adverse scenario, the HICP rate in Poland was 17.656378% in 2023, decreased to 8.188389% in 2024, and continued to decrease to 4.321625% in 2025. The cumulative adverse HICP rate over the period is 32.79156%.
|
240 |
-
|
241 |
Now, use the following data for {theme} in {country} to generate a similar description:
|
242 |
|
243 |
-
Example
|
244 |
{row_str}
|
245 |
|
246 |
The topic is {theme}. Describe the data, ensuring that the describe reflects the theme accurately. Follow the pattern of the examples provided and describe any changes in values using terms like 'increase' and 'decrease'. Make sure the output aligns with the data.
|
|
|
226 |
|
227 |
Description:
|
228 |
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%.
|
229 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
230 |
Now, use the following data for {theme} in {country} to generate a similar description:
|
231 |
|
232 |
+
Example 2 ({country} - {theme}):
|
233 |
{row_str}
|
234 |
|
235 |
The topic is {theme}. Describe the data, ensuring that the describe reflects the theme accurately. Follow the pattern of the examples provided and describe any changes in values using terms like 'increase' and 'decrease'. Make sure the output aligns with the data.
|