scormon-predata-ai commited on
Commit
c742dc6
·
verified ·
1 Parent(s): f433859

Update PanelInterface.py

Browse files
Files changed (1) hide show
  1. PanelInterface.py +2 -2
PanelInterface.py CHANGED
@@ -9,7 +9,7 @@ from InteractiveInterviewChatbot import *
9
  logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
10
 
11
 
12
- def load_panelists_from_excel(file_path="panelist_details.xlsx"):
13
  df = pd.read_excel(file_path)
14
  return df.to_dict(orient="records")
15
 
@@ -55,7 +55,7 @@ def build_interface(respondent_agents_dict, processor_llm):
55
  logging.info("Building Gradio interface...")
56
 
57
  # Load panelists from Excel
58
- panelists = load_panelists_from_excel("panelist_details.xlsx")
59
  bios_js_object = {p["ID"]: p["Bio"] for p in panelists}
60
  panel_html = "".join(
61
  f"<p><a href='javascript:void(0);' onclick='showModal(event, \"{p['ID']}\")'><b>{p['Name']}</b></a> – {p['Description']}</p>"
 
9
  logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
10
 
11
 
12
+ def load_panelists_from_excel(file_path="config/genzheroes/panelist_details.xlsx"):
13
  df = pd.read_excel(file_path)
14
  return df.to_dict(orient="records")
15
 
 
55
  logging.info("Building Gradio interface...")
56
 
57
  # Load panelists from Excel
58
+ panelists = load_panelists_from_excel("config/genzheroes/panelist_details.xlsx")
59
  bios_js_object = {p["ID"]: p["Bio"] for p in panelists}
60
  panel_html = "".join(
61
  f"<p><a href='javascript:void(0);' onclick='showModal(event, \"{p['ID']}\")'><b>{p['Name']}</b></a> – {p['Description']}</p>"