Spaces:
Build error
Build error
Attempt to fix recommended topics popup to allow clicking
Browse files- PanelInterface.py +9 -5
PanelInterface.py
CHANGED
|
@@ -79,11 +79,15 @@ def build_interface(respondent_agents_dict, processor_llm):
|
|
| 79 |
|
| 80 |
with gr.Row():
|
| 81 |
with gr.Column(scale=1, elem_classes="bio-section"):
|
| 82 |
-
gr.
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
""")
|
| 88 |
|
| 89 |
gr.HTML(f"""
|
|
|
|
| 79 |
|
| 80 |
with gr.Row():
|
| 81 |
with gr.Column(scale=1, elem_classes="bio-section"):
|
| 82 |
+
gr.HTML("""
|
| 83 |
+
<div style="text-align: left;">
|
| 84 |
+
<h2>Recommended Topics for Discussion</h2>
|
| 85 |
+
<ul>
|
| 86 |
+
<li>Our agents have been trained exclusively on topics relevant to youth attitudes, behaviours, and lifestyle preferences.</li>
|
| 87 |
+
<li>To ensure meaningful and respectful conversations, please do not ask inappropriate, offensive, or out-of-scope questions.</li>
|
| 88 |
+
<li><a href='javascript:void(0);' onclick='showTopicsModal(event)' style='cursor: pointer; color: #007bff; text-decoration: underline;'><b>Click here for a list of permitted and prohibited topics.</b></a></li>
|
| 89 |
+
</ul>
|
| 90 |
+
</div>
|
| 91 |
""")
|
| 92 |
|
| 93 |
gr.HTML(f"""
|