manueldeprada HF Staff commited on
Commit
26e8a2f
·
verified ·
1 Parent(s): a12ef5d

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. styles.css +1 -0
  2. time_series_gradio.py +10 -5
styles.css CHANGED
@@ -391,6 +391,7 @@ div[data-testid="column"]:has(.sidebar) {
391
  overflow-y: auto !important;
392
  scrollbar-width: thin !important;
393
  scrollbar-color: #333333 #000000 !important;
 
394
  }
395
 
396
  /* Custom scrollbar for plot container */
 
391
  overflow-y: auto !important;
392
  scrollbar-width: thin !important;
393
  scrollbar-color: #333333 #000000 !important;
394
+ padding: 0 !important;
395
  }
396
 
397
  /* Custom scrollbar for plot container */
time_series_gradio.py CHANGED
@@ -114,7 +114,8 @@ def create_time_series_summary_gradio(historical_df: pd.DataFrame) -> dict:
114
  color_map={"AMD": "#FF6B6B", "NVIDIA": "#4ECDC4"},
115
  title="Overall Failure Rates Over Time",
116
  tooltip=["failure_rate", "date", "change"],
117
- height=380,
 
118
  y_title="Failure Rate (%)"
119
  ),
120
  'amd_tests': gr.LinePlot(
@@ -125,7 +126,8 @@ def create_time_series_summary_gradio(historical_df: pd.DataFrame) -> dict:
125
  color_map={"Passed": "#4CAF50", "Failed": "#E53E3E", "Skipped": "#FFA500"},
126
  title="AMD Test Results Over Time",
127
  tooltip=["count", "date", "change"],
128
- height=380,
 
129
  y_title="Number of Tests"
130
  ),
131
  'nvidia_tests': gr.LinePlot(
@@ -136,7 +138,8 @@ def create_time_series_summary_gradio(historical_df: pd.DataFrame) -> dict:
136
  color_map={"Passed": "#4CAF50", "Failed": "#E53E3E", "Skipped": "#FFA500"},
137
  title="NVIDIA Test Results Over Time",
138
  tooltip=["count", "date", "change"],
139
- height=380,
 
140
  y_title="Number of Tests"
141
  )
142
  }
@@ -241,8 +244,9 @@ def create_model_time_series_gradio(historical_df: pd.DataFrame, model_name: str
241
  color="test_type",
242
  color_map={"Passed": "#4CAF50", "Failed": "#E53E3E", "Skipped": "#FFA500"},
243
  title=f"{model_name.upper()} - AMD Results Over Time",
 
244
  y_title="Number of Tests",
245
- height=380,
246
  tooltip=["count", "date", "change"]
247
  ),
248
  'nvidia_plot': gr.LinePlot(
@@ -252,8 +256,9 @@ def create_model_time_series_gradio(historical_df: pd.DataFrame, model_name: str
252
  color="test_type",
253
  color_map={"Passed": "#4CAF50", "Failed": "#E53E3E", "Skipped": "#FFA500"},
254
  title=f"{model_name.upper()} - NVIDIA Results Over Time",
 
255
  y_title="Number of Tests",
256
- height=380,
257
  tooltip=["count", "date", "change"]
258
  )
259
  }
 
114
  color_map={"AMD": "#FF6B6B", "NVIDIA": "#4ECDC4"},
115
  title="Overall Failure Rates Over Time",
116
  tooltip=["failure_rate", "date", "change"],
117
+ height=300,
118
+ x_label_angle=45,
119
  y_title="Failure Rate (%)"
120
  ),
121
  'amd_tests': gr.LinePlot(
 
126
  color_map={"Passed": "#4CAF50", "Failed": "#E53E3E", "Skipped": "#FFA500"},
127
  title="AMD Test Results Over Time",
128
  tooltip=["count", "date", "change"],
129
+ height=300,
130
+ x_label_angle=45,
131
  y_title="Number of Tests"
132
  ),
133
  'nvidia_tests': gr.LinePlot(
 
138
  color_map={"Passed": "#4CAF50", "Failed": "#E53E3E", "Skipped": "#FFA500"},
139
  title="NVIDIA Test Results Over Time",
140
  tooltip=["count", "date", "change"],
141
+ height=300,
142
+ x_label_angle=45,
143
  y_title="Number of Tests"
144
  )
145
  }
 
244
  color="test_type",
245
  color_map={"Passed": "#4CAF50", "Failed": "#E53E3E", "Skipped": "#FFA500"},
246
  title=f"{model_name.upper()} - AMD Results Over Time",
247
+ x_label_angle=45,
248
  y_title="Number of Tests",
249
+ height=300,
250
  tooltip=["count", "date", "change"]
251
  ),
252
  'nvidia_plot': gr.LinePlot(
 
256
  color="test_type",
257
  color_map={"Passed": "#4CAF50", "Failed": "#E53E3E", "Skipped": "#FFA500"},
258
  title=f"{model_name.upper()} - NVIDIA Results Over Time",
259
+ x_label_angle=45,
260
  y_title="Number of Tests",
261
+ height=300,
262
  tooltip=["count", "date", "change"]
263
  )
264
  }