import json from collections import OrderedDict from pathlib import Path import streamlit as st SEEKER_ICON = "https://github.com/McGill-NLP/FaithDial/raw/gh-pages/assets/img/seeker.png" EXPERT_ICON = "https://github.com/McGill-NLP/FaithDial/raw/gh-pages/assets/img/expert.png" begin_badges = { "Entailment": "success", "Hallucination": "danger", "Partial Hallucination": "warning", "Generic": "secondary", "Uncooperative": "secondary", } st.set_page_config(page_title="FaithDial Explorer", page_icon=":stars:", layout="wide") st.markdown( """ """, unsafe_allow_html=True, ) st.sidebar.write( """
{history}
""" # ) # history_template += """{exchange["evidence"]}