Spaces:
Sleeping
Sleeping
Update my_model/tabs/dataset_analysis.py
Browse files
my_model/tabs/dataset_analysis.py
CHANGED
|
@@ -306,7 +306,7 @@ def run_dataset_analyzer():
|
|
| 306 |
st.markdown("#### OK-VQA Dataset Characteristics")
|
| 307 |
st.write(okvqa_dataset_characteristics)
|
| 308 |
with col2:
|
| 309 |
-
df = pd.read_excel(
|
| 310 |
st.markdown("#### Questions Distribution over Knowledge Category")
|
| 311 |
dataset_analyzer.plot_bar_chart(df, "Knowledge Category", "Percentage", "Questions Distribution over "
|
| 312 |
"Knowledge Category")
|
|
|
|
| 306 |
st.markdown("#### OK-VQA Dataset Characteristics")
|
| 307 |
st.write(okvqa_dataset_characteristics)
|
| 308 |
with col2:
|
| 309 |
+
df = pd.read_excel(config.DATASET_ANALYSES_PATH, sheet_name="Question Category Dist")
|
| 310 |
st.markdown("#### Questions Distribution over Knowledge Category")
|
| 311 |
dataset_analyzer.plot_bar_chart(df, "Knowledge Category", "Percentage", "Questions Distribution over "
|
| 312 |
"Knowledge Category")
|