nivakaran commited on
Commit
ee845d5
·
verified ·
1 Parent(s): e19e60c

Deploy from GitHub Actions

Browse files
frontend/app/components/dashboard/AnomalyDetection.tsx CHANGED
@@ -204,12 +204,17 @@ const AnomalyDetection = () => {
204
  </div>
205
 
206
  {/* Footer */}
207
- {anomalies.length > 0 && (
208
- <div className="mt-4 pt-4 border-t border-border flex items-center justify-between text-xs text-muted-foreground">
209
- <span>Showing {anomalies.length} anomalous events</span>
210
- <span className="font-mono">Auto-refresh: 30s</span>
211
- </div>
212
- )}
 
 
 
 
 
213
  </Card>
214
  );
215
  };
 
204
  </div>
205
 
206
  {/* Footer */}
207
+ <div className="mt-4 pt-4 border-t border-border">
208
+ {anomalies.length > 0 && (
209
+ <div className="flex items-center justify-between text-xs text-muted-foreground mb-2">
210
+ <span>Showing {anomalies.length} anomalous events</span>
211
+ <span className="font-mono">Auto-refresh: 30s</span>
212
+ </div>
213
+ )}
214
+ <p className="text-xs text-muted-foreground text-center">
215
+ Data: Live news feeds | Model: Isolation Forest + BERT Embeddings
216
+ </p>
217
+ </div>
218
  </Card>
219
  );
220
  };
frontend/app/components/dashboard/CurrencyPrediction.tsx CHANGED
@@ -225,9 +225,14 @@ export default function CurrencyPrediction() {
225
 
226
 
227
  {/* Footer */}
228
- <div className="mt-4 text-xs text-slate-500 text-center">
229
- Generated: {new Date(prediction.generated_at).toLocaleString()} |
230
- Model: {prediction.model_version}
 
 
 
 
 
231
  </div>
232
  </>
233
  ) : null}
 
225
 
226
 
227
  {/* Footer */}
228
+ <div className="mt-4 text-xs text-slate-500 text-center space-y-1">
229
+ <div>
230
+ Generated: {new Date(prediction.generated_at).toLocaleString()} |
231
+ Model: {prediction.model_version}
232
+ </div>
233
+ <div>
234
+ Data: cbsl.gov.lk (CBSL) | Model: LSTM Neural Network
235
+ </div>
236
  </div>
237
  </>
238
  ) : null}
frontend/app/components/dashboard/WeatherPredictions.tsx CHANGED
@@ -221,9 +221,14 @@ export default function WeatherPredictions() {
221
 
222
  {/* Footer */}
223
  {predictions && (
224
- <div className="mt-4 text-xs text-slate-500 text-center">
225
- Generated: {new Date(predictions.generated_at).toLocaleString()} |
226
- {predictions.total_districts} districts
 
 
 
 
 
227
  </div>
228
  )}
229
  </>
 
221
 
222
  {/* Footer */}
223
  {predictions && (
224
+ <div className="mt-4 text-xs text-slate-500 text-center space-y-1">
225
+ <div>
226
+ Generated: {new Date(predictions.generated_at).toLocaleString()} |
227
+ {predictions.total_districts} districts
228
+ </div>
229
+ <div>
230
+ Data: meteo.gov.lk (DMC) | Model: ML Weather Forecasting
231
+ </div>
232
  </div>
233
  )}
234
  </>