xiezhe22 commited on
Commit
2cfbbfe
Β·
1 Parent(s): 5cf30c0
Files changed (1) hide show
  1. app.py +9 -5
app.py CHANGED
@@ -31,6 +31,10 @@ model.eval()
31
 
32
  # ─── VISUAL THEME (Dark) ───────────────────────────────────────────────────────
33
  CSS = """
 
 
 
 
34
  :root{
35
  --bg:#0b1020; --bg-2:#10172e; --panel:#141b34; --panel-2:#0f172a;
36
  --border:#263154; --fg:#e7ecf5; --muted:#b9c2d3; --placeholder:#7c8195;
@@ -209,11 +213,11 @@ def infer_chatts_stream(prompt: str, csv_file, use_default):
209
 
210
  # ─── EXAMPLES (semantic names) ─────────────────────────────────────────────────
211
  EXAMPLE_PROMPTS = {
212
- "πŸ” Detect Spikes": "Identify all spikes in each series <ts><ts/> and report timestamps and magnitudes. Explain briefly.",
213
- "πŸ“ˆ Trend & Seasonality": "Describe the trend and seasonality for the provided time series <ts><ts/>. Estimate the dominant period length and amplitude.",
214
- "πŸ”— Compare Metrics": "Compare the two series <ts><ts/>. Are there lagged correlations? Estimate the lag and correlation strength.",
215
- "⚑ Local Change Analysis": "Find intervals with >10% rise or drop relative to the prior 20 points for <ts><ts/>. Return intervals and reasons.",
216
- "πŸ“Š Correlation Strength": "Quantify Pearson correlation between each pair of series <ts><ts/> and highlight the strongest positive/negative pairs."
217
  }
218
 
219
  # ─── UI ────────────────────────────────────────────────────────────────────────
 
31
 
32
  # ─── VISUAL THEME (Dark) ───────────────────────────────────────────────────────
33
  CSS = """
34
+ .gradio-container {
35
+ box-shadow: none !important;
36
+ border: none !important;
37
+ }
38
  :root{
39
  --bg:#0b1020; --bg-2:#10172e; --panel:#141b34; --panel-2:#0f172a;
40
  --border:#263154; --fg:#e7ecf5; --muted:#b9c2d3; --placeholder:#7c8195;
 
213
 
214
  # ─── EXAMPLES (semantic names) ─────────────────────────────────────────────────
215
  EXAMPLE_PROMPTS = {
216
+ "πŸ” Detect Spikes": "Identify all spikes in each series and report timestamps and magnitudes. Explain briefly.",
217
+ "πŸ“ˆ Trend & Seasonality": "Describe the trend and seasonality for the provided time series TS1.",
218
+ "πŸ”— Compare Metrics": "Compare the two series (TS1 and TS2). Are there lagged correlations? Estimate the lag and correlation strength.",
219
+ "⚑ Local Change Analysis": "Find intervals with >10% rise or drop relative to the prior 20 points for TS1. Return intervals and reasons.",
220
+ "πŸ“Š Correlation Strength": "Quantify Pearson correlation between each pair of series (TS1 and TS2) and highlight the strongest positive/negative pairs."
221
  }
222
 
223
  # ─── UI ────────────────────────────────────────────────────────────────────────