Anas Awadalla
commited on
Commit
·
c94fd08
1
Parent(s):
71678a4
some fixes
Browse files- src/streamlit_app.py +0 -28
src/streamlit_app.py
CHANGED
@@ -438,34 +438,6 @@ def main():
|
|
438 |
# Main content
|
439 |
st.header(f"Results for {selected_dataset}")
|
440 |
|
441 |
-
# Debug information (can be removed later)
|
442 |
-
with st.expander("Debug Information"):
|
443 |
-
st.write(f"Total rows in filtered_df: {len(filtered_df)}")
|
444 |
-
st.write(f"Total rows in ui_metrics_df: {len(ui_metrics_df)}")
|
445 |
-
if not filtered_df.empty:
|
446 |
-
st.write("Sample data from filtered_df:")
|
447 |
-
st.write(filtered_df[['model', 'base_model', 'is_checkpoint', 'overall_accuracy']].head())
|
448 |
-
|
449 |
-
# Show UI type results structure
|
450 |
-
st.write("\nUI Type Results Structure:")
|
451 |
-
for idx, row in filtered_df.head(2).iterrows():
|
452 |
-
st.write(f"\nModel: {row['model']}")
|
453 |
-
ui_results = row.get('ui_type_results', {})
|
454 |
-
if ui_results:
|
455 |
-
st.write("UI Type Keys:", list(ui_results.keys()))
|
456 |
-
# Show a sample of the structure
|
457 |
-
for key in list(ui_results.keys())[:2]:
|
458 |
-
st.write(f" {key}: {ui_results[key]}")
|
459 |
-
else:
|
460 |
-
st.write(" No UI type results found")
|
461 |
-
|
462 |
-
# Also check dataset_type_results
|
463 |
-
dataset_type_results = row.get('dataset_type_results', {})
|
464 |
-
if dataset_type_results:
|
465 |
-
st.write("Dataset Type Results Keys:", list(dataset_type_results.keys()))
|
466 |
-
for key in list(dataset_type_results.keys())[:2]:
|
467 |
-
st.write(f" {key}: {dataset_type_results[key]}")
|
468 |
-
|
469 |
# Overall metrics
|
470 |
col1, col2, col3 = st.columns(3)
|
471 |
with col1:
|
|
|
438 |
# Main content
|
439 |
st.header(f"Results for {selected_dataset}")
|
440 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
441 |
# Overall metrics
|
442 |
col1, col2, col3 = st.columns(3)
|
443 |
with col1:
|