Javier Vera commited on
Commit
e12f791
·
verified ·
1 Parent(s): c8a6fc2

Update rag_hf.py

Browse files
Files changed (1) hide show
  1. rag_hf.py +5 -29
rag_hf.py CHANGED
@@ -186,42 +186,18 @@ def main():
186
  </div>
187
  """, unsafe_allow_html=True)
188
 
189
- with st.expander("📌 Overview", expanded=True):
190
  st.markdown("""
191
  This app provides **AI-powered analysis** of endangered indigenous languages in South America,
192
  integrating knowledge graphs from **Glottolog, Wikipedia, and Wikidata**.
193
  """)
194
-
195
- cols = st.columns(2)
196
- with cols[0]:
197
- st.markdown("""
198
- <div class="feature-card">
199
- <h4>🔹 Two AI Methods Available:</h4>
200
- <ul>
201
- <li><b>InfoMatch</b> (Node2Vec + Textual Data)</li>
202
- <li><b>LinkGraph</b> (GraphSAGE + Structured Relations)</li>
203
- </ul>
204
- <p>🔹 <b>Powered by Mistral-7B</b> for contextual responses</p>
205
- </div>
206
- """, unsafe_allow_html=True)
207
-
208
- with cols[1]:
209
- st.markdown("""
210
- <div class="feature-card">
211
- <h4>🛠️ Features</h4>
212
- <ul>
213
- <li>✅ Multisource Knowledge Graph</li>
214
- <li>✅ Hybrid AI Analysis</li>
215
- <li>✅ Comparative Results</li>
216
- <li>✅ Structured & Unstructured Data</li>
217
- </ul>
218
- </div>
219
- """, unsafe_allow_html=True)
220
 
221
  with st.sidebar:
222
  st.markdown("### Pontificia Universidad Católica del Perú")
223
- st.markdown("### Departamento Académico de Humanidades")
224
- st.markdown("### jveraz@pucp.edu.pe")
 
 
225
  st.markdown("---")
226
  st.markdown("### 🚀 Quick Start")
227
  st.markdown("""
 
186
  </div>
187
  """, unsafe_allow_html=True)
188
 
189
+ with st.expander("📌 **Overview**", expanded=True):
190
  st.markdown("""
191
  This app provides **AI-powered analysis** of endangered indigenous languages in South America,
192
  integrating knowledge graphs from **Glottolog, Wikipedia, and Wikidata**.
193
  """)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
 
195
  with st.sidebar:
196
  st.markdown("### Pontificia Universidad Católica del Perú")
197
+ st.markdown("""
198
+ - <span class="tech-badge">Departamento de Humanidades</span>
199
+ - <span class="tech-badge">jveraz@pucp.edu.pe</span>
200
+ """, unsafe_allow_html=True)
201
  st.markdown("---")
202
  st.markdown("### 🚀 Quick Start")
203
  st.markdown("""