Update app.py
Browse files
app.py
CHANGED
|
@@ -232,8 +232,8 @@ Make all text entries detailed and professional, suitable for executive reportin
|
|
| 232 |
*Analysis:* {relevance}
|
| 233 |
|
| 234 |
"""
|
| 235 |
-
|
| 236 |
-
## Content Strengths
|
| 237 |
|
| 238 |
The content demonstrates several key strengths that make it valuable for {persona.lower()}s:
|
| 239 |
|
|
@@ -243,6 +243,7 @@ The content demonstrates several key strengths that make it valuable for {person
|
|
| 243 |
for i, strength in enumerate(results.get('strongest_sections', []), 1):
|
| 244 |
report += f"**{self._extract_title(strength)}:** {self._extract_description(strength)}\n\n"
|
| 245 |
|
|
|
|
| 246 |
report += """## Critical Weaknesses
|
| 247 |
|
| 248 |
Several significant weaknesses limit the content's practical utility:
|
|
@@ -584,4 +585,4 @@ if __name__ == "__main__":
|
|
| 584 |
share=True,
|
| 585 |
server_name="0.0.0.0",
|
| 586 |
server_port=7860
|
| 587 |
-
)
|
|
|
|
| 232 |
*Analysis:* {relevance}
|
| 233 |
|
| 234 |
"""
|
| 235 |
+
|
| 236 |
+
report += f"""## Content Strengths
|
| 237 |
|
| 238 |
The content demonstrates several key strengths that make it valuable for {persona.lower()}s:
|
| 239 |
|
|
|
|
| 243 |
for i, strength in enumerate(results.get('strongest_sections', []), 1):
|
| 244 |
report += f"**{self._extract_title(strength)}:** {self._extract_description(strength)}\n\n"
|
| 245 |
|
| 246 |
+
# Corrected syntax for the next multiline string
|
| 247 |
report += """## Critical Weaknesses
|
| 248 |
|
| 249 |
Several significant weaknesses limit the content's practical utility:
|
|
|
|
| 585 |
share=True,
|
| 586 |
server_name="0.0.0.0",
|
| 587 |
server_port=7860
|
| 588 |
+
)
|