Spaces:
Build error
Build error
Update PanelInterface.py
Browse files- PanelInterface.py +1 -1
PanelInterface.py
CHANGED
|
@@ -60,7 +60,7 @@ def build_interface(respondent_agents_dict, processor_llm):
|
|
| 60 |
logging.info("Building Gradio interface...")
|
| 61 |
|
| 62 |
# Load panelists from Excel
|
| 63 |
-
panelists = load_panelists_from_excel("config/genzheroes/
|
| 64 |
bios_js_object = {p["ID"]: f"<b>{p['Name']}</b><br>{p['Description']}<br><br>{p['Bio']}" for p in panelists}
|
| 65 |
panel_html = "".join(
|
| 66 |
f"<p><a href='javascript:void(0);' onclick='showModal(event, \"{p['ID']}\"); return false;'><b>{p['Name']}</b></a> – {p['Description']}</p>"
|
|
|
|
| 60 |
logging.info("Building Gradio interface...")
|
| 61 |
|
| 62 |
# Load panelists from Excel
|
| 63 |
+
panelists = load_panelists_from_excel("config/genzheroes/hugging_face_details.xlsx")
|
| 64 |
bios_js_object = {p["ID"]: f"<b>{p['Name']}</b><br>{p['Description']}<br><br>{p['Bio']}" for p in panelists}
|
| 65 |
panel_html = "".join(
|
| 66 |
f"<p><a href='javascript:void(0);' onclick='showModal(event, \"{p['ID']}\"); return false;'><b>{p['Name']}</b></a> – {p['Description']}</p>"
|