m7mdal7aj commited on
Commit
e927479
1 Parent(s): c0d25c0

Update my_model/tabs/dataset_analysis.py

Browse files
Files changed (1) hide show
  1. my_model/tabs/dataset_analysis.py +1 -1
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("dataset_analyses.xlsx", 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")
 
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")