NiborKowon commited on
Commit
237cb84
Β·
verified Β·
1 Parent(s): 2a39ad8

new text - accordion

Browse files
Files changed (1) hide show
  1. app.py +25 -11
app.py CHANGED
@@ -19,9 +19,17 @@ rag = load_rag_pipeline()
19
  with st.chat_message(name="ai", avatar=":material/smart_toy:"):
20
  st.html(
21
  """
22
- <h3>Welcome to the GIZ Gender Strategy Assistant</h3>
 
 
 
23
  <p>This assistant provides <b>reliable answers</b> about the <b>GIZ Gender Strategy (2019)</b>, helping you quickly access key insights from the official document.</p>
24
-
 
 
 
 
 
25
  <h4>πŸ’‘ How does the app work?</h4>
26
  <p>The assistant uses a <b>Retrieval-Augmented Generation (RAG) approach</b> to ensure responses are grounded in the content of the <b>GIZ Gender Strategy (2019)</b>:</p>
27
  <ul>
@@ -39,18 +47,24 @@ with st.chat_message(name="ai", avatar=":material/smart_toy:"):
39
  <li>How does the strategy align with the <b>2030 Agenda</b>?</li>
40
  <li>How is the success of the strategy measured and reviewed?</li>
41
  </ul>
42
-
43
- <h4>πŸ“Œ Further resources:</h4>
44
- <ul>
45
- <li>πŸ“„ <a href="https://www.giz.de/de/downloads/giz-2019-de-genderstrategie.pdf" target="_blank"><b>GIZ Gender Strategy (2019, PDF)</b></a></li>
46
- <li>🌍 <a href="https://reporting.giz.de/2022/operating-responsibly/our-gender-strategy/index.html" target="_blank"><b>GIZ Gender Strategy Website</b></a></li>
47
- <li>πŸ“Š <a href="https://www.blog-datalab.com/" target="_blank"><b>GIZ Data Lab Blog</b></a></li>
48
- </ul>
49
-
50
- <p>Feel free to explore and gain deeper insights into GIZ’s commitment to gender equality! πŸš€</p>
51
  """
52
  )
53
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  if "messages" not in st.session_state:
55
  st.session_state.messages = []
56
 
 
19
  with st.chat_message(name="ai", avatar=":material/smart_toy:"):
20
  st.html(
21
  """
22
+ <div style="display: flex; align-items: center; gap: 10px;">
23
+ <span style="font-size: 36px;">πŸ€–</span>
24
+ <h3 style="margin: 0;">Welcome to the GIZ Gender Strategy Assistant</h3>
25
+ </div>
26
  <p>This assistant provides <b>reliable answers</b> about the <b>GIZ Gender Strategy (2019)</b>, helping you quickly access key insights from the official document.</p>
27
+ """
28
+ )
29
+
30
+ with st.expander("πŸ“– Further Information"):
31
+ st.html(
32
+ """
33
  <h4>πŸ’‘ How does the app work?</h4>
34
  <p>The assistant uses a <b>Retrieval-Augmented Generation (RAG) approach</b> to ensure responses are grounded in the content of the <b>GIZ Gender Strategy (2019)</b>:</p>
35
  <ul>
 
47
  <li>How does the strategy align with the <b>2030 Agenda</b>?</li>
48
  <li>How is the success of the strategy measured and reviewed?</li>
49
  </ul>
 
 
 
 
 
 
 
 
 
50
  """
51
  )
52
 
53
+ st.html(
54
+ """
55
+ <h4>πŸ“Œ Further resources:</h4>
56
+ <ul>
57
+ <li>πŸ“„ <a href="https://www.giz.de/de/downloads/giz-2019-de-genderstrategie.pdf" target="_blank"><b>GIZ Gender Strategy (2019, PDF)</b></a></li>
58
+ <li>🌍 <a href="https://reporting.giz.de/2022/operating-responsibly/our-gender-strategy/index.html" target="_blank"><b>GIZ Gender Strategy Website</b></a></li>
59
+ <li>πŸ“Š <a href="https://www.blog-datalab.com/" target="_blank"><b>GIZ Data Lab Blog</b></a></li>
60
+ </ul>
61
+
62
+ <p>Feel free to explore and gain deeper insights into GIZ’s commitment to gender equality! πŸš€</p>
63
+ <p><b>Now, go ahead and ask a question related to the GIZ Gender Strategy in the text field below!</b> πŸ“</p>
64
+ """
65
+ )
66
+
67
+
68
  if "messages" not in st.session_state:
69
  st.session_state.messages = []
70