Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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
|