Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -107,7 +107,7 @@ def generate_report_with_gemini(pagespeed_data, gemini_api_key):
|
|
107 |
# Prepare the prompt including the pretty-printed JSON.
|
108 |
prompt = (
|
109 |
"Please generate a detailed and well-structured report on the website performance based "
|
110 |
-
"on the following PageSpeed Insights data. Organize the report with clear headings, "
|
111 |
"subheadings, and bullet points for key metrics and recommendations:\n\n" +
|
112 |
json.dumps(pagespeed_data, indent=2)
|
113 |
)
|
|
|
107 |
# Prepare the prompt including the pretty-printed JSON.
|
108 |
prompt = (
|
109 |
"Please generate a detailed and well-structured report on the website performance based "
|
110 |
+
"on the following PageSpeed Insights data. Organize the report with clear headings, do not generate tables in the report "
|
111 |
"subheadings, and bullet points for key metrics and recommendations:\n\n" +
|
112 |
json.dumps(pagespeed_data, indent=2)
|
113 |
)
|