mikaelmp commited on
Commit
c9fcb2c
·
verified ·
1 Parent(s): 3c24f7b

Attempt to fix recommended topics popup to allow clicking

Browse files
Files changed (1) hide show
  1. 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.Markdown("""
83
- ## Recommended Topics for Discussion
84
- - Our agents have been trained exclusively on topics relevant to youth attitudes, behaviours, and lifestyle preferences.
85
- - To ensure meaningful and respectful conversations, please do not ask inappropriate, offensive, or out-of-scope questions.
86
- - <a href='javascript:void(0);' onclick='showTopicsModal(event)'><b>Click here for a list of permitted and prohibited topics.</b></a>
 
 
 
 
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"""