Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -155,16 +155,16 @@ analyse = Task(
|
|
155 |
"4. Provide actionable insights and strategic recommendations based on the data.\n"
|
156 |
"5. Deliver structured output in a list of dictionaries with 'Category' and 'Values' fields:\n"
|
157 |
" - 'Values' can be:\n"
|
158 |
-
" a) A dictionary with counts for quantitative data (e.g., {'Region A': 120, 'Region B': 95}),\n"
|
159 |
" b) A list of key items (technologies, companies, inventors), or\n"
|
160 |
" c) Descriptive text for qualitative insights.\n"
|
161 |
"6. Example Output Format:\n"
|
162 |
"[\n"
|
163 |
-
" {'Category': 'Top Regions', 'Values': {'North America': 120, 'Europe': 95, 'Asia-Pacific': 85}},\n"
|
164 |
-
" {'Category': 'Top Assignees', 'Values': {'Company A': 40, 'Company B': 35}},\n"
|
165 |
-
" {'Category': 'Top Inventors', 'Values': {'Inventor X': 25, 'Inventor Y': 20}},\n"
|
166 |
-
" {'Category': 'Emerging Technologies', 'Values': ['Graphene Antennas', '5G Integration']},\n"
|
167 |
-
" {'Category': 'Strategic Insights', 'Values': 'Collaborations between automotive and material science industries are accelerating innovation.'}\n"
|
168 |
"]\n"
|
169 |
"7. Ensure that the output is clean, well-structured, and formatted for use in visualizations and tables."
|
170 |
),
|
|
|
155 |
"4. Provide actionable insights and strategic recommendations based on the data.\n"
|
156 |
"5. Deliver structured output in a list of dictionaries with 'Category' and 'Values' fields:\n"
|
157 |
" - 'Values' can be:\n"
|
158 |
+
" a) A dictionary with counts for quantitative data (e.g., {{'Region A': 120, 'Region B': 95}}),\n"
|
159 |
" b) A list of key items (technologies, companies, inventors), or\n"
|
160 |
" c) Descriptive text for qualitative insights.\n"
|
161 |
"6. Example Output Format:\n"
|
162 |
"[\n"
|
163 |
+
" {{'Category': 'Top Regions', 'Values': {{'North America': 120, 'Europe': 95, 'Asia-Pacific': 85}}}},\n"
|
164 |
+
" {{'Category': 'Top Assignees', 'Values': {{'Company A': 40, 'Company B': 35}}}},\n"
|
165 |
+
" {{'Category': 'Top Inventors', 'Values': {{'Inventor X': 25, 'Inventor Y': 20}}}},\n"
|
166 |
+
" {{'Category': 'Emerging Technologies', 'Values': ['Graphene Antennas', '5G Integration']}},\n"
|
167 |
+
" {{'Category': 'Strategic Insights', 'Values': 'Collaborations between automotive and material science industries are accelerating innovation.'}}\n"
|
168 |
"]\n"
|
169 |
"7. Ensure that the output is clean, well-structured, and formatted for use in visualizations and tables."
|
170 |
),
|