venkatl commited on
Commit
6df28a7
·
verified ·
1 Parent(s): 20bed83

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -238,7 +238,7 @@ def compute_correlation(col1, col2):
238
  if col1 in categorical_cols and col2 in categorical_cols:
239
  confusion = pd.crosstab(c1, c2)
240
  v = cramers_v(confusion)
241
- return f"Cramérs V = {v:.4f}", confusion
242
 
243
  # Case 3: keyword frequency vs numeric/categorical
244
  # Convert col1 or col2 (if comma-separated) into frequency counts
@@ -268,9 +268,9 @@ def compute_correlation(col1, col2):
268
  # ----------------------------------------------------
269
  # Gradio UI
270
  # ----------------------------------------------------
271
- with gr.Blocks(title="DATA ANALYSIS APP") as app:
272
 
273
- gr.Markdown("# 📊 Youth Nutritional Data Analysis System \nUpload → Analyse → Export\n Developed by Dr. Indira Priyadarsini")
274
  with gr.Tab("ℹ️ About & Citation"):
275
  refresh_btn = gr.Button("🔄 Refresh Data from Excel")
276
  refresh_msg = gr.Textbox(label="Status", interactive=False)
 
238
  if col1 in categorical_cols and col2 in categorical_cols:
239
  confusion = pd.crosstab(c1, c2)
240
  v = cramers_v(confusion)
241
+ return f"Cramér's V = {v:.4f}", confusion
242
 
243
  # Case 3: keyword frequency vs numeric/categorical
244
  # Convert col1 or col2 (if comma-separated) into frequency counts
 
268
  # ----------------------------------------------------
269
  # Gradio UI
270
  # ----------------------------------------------------
271
+ with gr.Blocks(title="Padmavathi APP") as app:
272
 
273
+ gr.Markdown("# 📊 Padmavathi's SPMVV Data Analysis System \nUpload → Analyse → Export\n Developed by Dr. Padmavathi, Dept of Women Studies")
274
  with gr.Tab("ℹ️ About & Citation"):
275
  refresh_btn = gr.Button("🔄 Refresh Data from Excel")
276
  refresh_msg = gr.Textbox(label="Status", interactive=False)