Spaces:
Runtime error
Runtime error
| def format_output(analysis): | |
| """Format the analysis output""" | |
| if not analysis: | |
| return "No analysis available." | |
| # Simple formatting - in a real implementation, this could do more complex formatting | |
| formatted = f"## Research Findings\n\n{analysis}" | |
| return formatted | |