Cachoups commited on
Commit
ff5466b
·
verified ·
1 Parent(s): 0d1be9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -214,7 +214,7 @@ def generate_text(df, country, theme):
214
  Summarize the adverse growth for {theme} in {country}. Highlight any increase or decrease compared to previous years and include the cumulative result.
215
  """
216
  prompt = f"""
217
- Here are two examples of how to describe adverse growth data for a given country:
218
 
219
  Example 1 (Australia - GDP):
220
  Country: Australia
@@ -232,7 +232,7 @@ def generate_text(df, country, theme):
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.
236
  """
237
 
238
 
 
214
  Summarize the adverse growth for {theme} in {country}. Highlight any increase or decrease compared to previous years and include the cumulative result.
215
  """
216
  prompt = f"""
217
+ Here are two examples of how to explain adverse growth data for a given country:
218
 
219
  Example 1 (Australia - GDP):
220
  Country: Australia
 
232
  Example 2 ({country} - {theme}):
233
  {row_str}
234
 
235
+ The topic is {theme}. Explain the data, ensuring that the description 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.
236
  """
237
 
238