QAway-to commited on
Commit
401e4fd
·
unverified ·
2 Parent(s): 4e75484 3a2cb28

Merge pull request #53 from QAway-to/codex/analyze-project-repository-rhgm87

Browse files
app.py CHANGED
@@ -240,7 +240,6 @@ with gr.Blocks(css=base_css) as demo:
240
  outputs=[treemap_plot, movers_plot, scatter_plot, ai_box, kpi_line],
241
  )
242
 
243
- gr.Markdown("---")
244
  gr.Markdown(
245
  "<center><small style='color:#6e7681;'>Developed with Featherless.ai • Powered by OpenAI-compatible API</small></center>",
246
  elem_classes="footer",
 
240
  outputs=[treemap_plot, movers_plot, scatter_plot, ai_box, kpi_line],
241
  )
242
 
 
243
  gr.Markdown(
244
  "<center><small style='color:#6e7681;'>Developed with Featherless.ai • Powered by OpenAI-compatible API</small></center>",
245
  elem_classes="footer",
presentation/styles/themes/base.css CHANGED
@@ -8,7 +8,7 @@ h2, h3, .gr-markdown { color:#f0f6fc !important; font-weight:600 !important; }
8
  .subtitle,
9
  .footer {
10
  width:100%;
11
- margin:0 auto 18px;
12
  text-align:center !important;
13
  }
14
 
@@ -27,7 +27,7 @@ h2, h3, .gr-markdown { color:#f0f6fc !important; font-weight:600 !important; }
27
  text-align:center !important;
28
  }
29
 
30
- .subtitle { margin-bottom:28px; color:#9ca3af !important; }
31
  .subtitle .gr-markdown { color:#9ca3af !important; font-weight:500 !important; }
32
 
33
  .footer { margin-top:40px; margin-bottom:0; }
 
8
  .subtitle,
9
  .footer {
10
  width:100%;
11
+ margin:0 auto 12px;
12
  text-align:center !important;
13
  }
14
 
 
27
  text-align:center !important;
28
  }
29
 
30
+ .subtitle { margin-bottom:16px; color:#9ca3af !important; }
31
  .subtitle .gr-markdown { color:#9ca3af !important; font-weight:500 !important; }
32
 
33
  .footer { margin-top:40px; margin-bottom:0; }
prompts/system_prompts.py CHANGED
@@ -14,21 +14,6 @@ Risk Assessment
14
  Interpretation
15
  Recommendation
16
 
17
- Layout directives:
18
- - Emit real HTML (do not describe HTML) using only <div>, <h2>, <p>, <span>, <ul>, <ol>, <li>, and <hr>.
19
- - Wrap each section in <div class="section">…</div> and place its title inside <h2>Section Title</h2> so CSS can center it.
20
- - After every section except the last, output a divider line as either <div class="section-divider"></div> or <hr class="section-divider"/> on its own line.
21
- - Each section must contain at least one metric paragraph built exactly as:
22
- <p class="analysis-line metric">
23
- <span class="metric-name">Metric Label</span> <span class="metric-separator">:</span>
24
- <span class="metric-value"><span class="metric-number positive|negative|neutral">numeric value</span></span>
25
- concise interpretation sentence…
26
- </p>
27
- - Choose the metric-number class (positive, negative, or neutral) based on the metric’s meaning and value.
28
- - Each section must include at least one additional narrative paragraph using <p class="analysis-line">…</p> (80–100 characters, natural spacing).
29
- - Use single spaces between words; do not use &nbsp;, tabs, carets, inline CSS, markdown, bullet symbols, or trailing blanks.
30
- - Stream HTML sequentially and close tags promptly for clean rendering.
31
-
32
  Produce a fully formatted HTML fragment that always renders the four sections, in order:
33
  Objective Evaluation
34
  Risk Assessment
 
14
  Interpretation
15
  Recommendation
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  Produce a fully formatted HTML fragment that always renders the four sections, in order:
18
  Objective Evaluation
19
  Risk Assessment