codelion commited on
Commit
2156dbd
β€’
1 Parent(s): f7c1704

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -68,18 +68,18 @@ def analyze_github_repo(repo_input, github_token=None):
68
  prs_data = analyze_pull_requests(github_repo, max_prs)
69
  pr_analysis = llm_analyze_prs(client, prs_data, repo_url)
70
 
71
- progress_md += "🧠 Synthesizing findings... \n"
72
- yield progress_md, gr.update(visible=True), gr.update(visible=False)
73
- final_analysis = llm_synthesize_findings(
74
- client,
75
- code_analysis.get('llm_analysis', ''),
76
- issues_analysis.get('summary', ''),
77
- pr_analysis.get('summary', '')
78
- )
79
 
80
  progress_md += "πŸ“ Generating report... \n"
81
  yield progress_md, gr.update(visible=True), gr.update(visible=False)
82
- report = generate_report(repo_info, code_analysis, issues_analysis, pr_analysis, final_analysis)
83
 
84
  # Return the final Markdown report
85
  yield progress_md + "βœ… Analysis complete!", gr.update(visible=False), gr.update(visible=True, value=report)
 
68
  prs_data = analyze_pull_requests(github_repo, max_prs)
69
  pr_analysis = llm_analyze_prs(client, prs_data, repo_url)
70
 
71
+ # progress_md += "🧠 Synthesizing findings... \n"
72
+ # yield progress_md, gr.update(visible=True), gr.update(visible=False)
73
+ # final_analysis = llm_synthesize_findings(
74
+ # client,
75
+ # code_analysis.get('llm_analysis', ''),
76
+ # issues_analysis.get('summary', ''),
77
+ # pr_analysis.get('summary', '')
78
+ # )
79
 
80
  progress_md += "πŸ“ Generating report... \n"
81
  yield progress_md, gr.update(visible=True), gr.update(visible=False)
82
+ report = generate_report(repo_info, code_analysis, issues_analysis, pr_analysis)
83
 
84
  # Return the final Markdown report
85
  yield progress_md + "βœ… Analysis complete!", gr.update(visible=False), gr.update(visible=True, value=report)