CarlosMalaga
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -232,14 +232,12 @@ def load_model():
|
|
232 |
|
233 |
relik_question = Relik(reader=reader, retriever=retriever_question, window_size="none", top_k=100, task="span", device="cpu", document_index_device="cpu")
|
234 |
|
235 |
-
selection_options = ["DB Intervention (GPT)", "DB Outcome (GPT)", "DB Intervention (GPT+Llama)", "DB Outcome (GPT+Llama)", "Taxonomy Intervention (GPT)", "Taxonomy Outcome (GPT)", "Taxonomy Intervention (GPT+Llama)", "Taxonomy Outcome (GPT+Llama)"]
|
236 |
-
|
237 |
return [relik_question, retriever_intervention_gpt_db, retriever_outcome_gpt_db, retriever_intervention_gpt_llama_db, retriever_outcome_gpt_llama_db, retriever_intervention_gpt_taxonomy, retriever_outcome_gpt_taxonomy, retriever_intervention_gpt_llama_taxonomy, retriever_outcome_gpt_llama_taxonomy]
|
238 |
|
239 |
def set_intro(css):
|
240 |
# intro
|
241 |
|
242 |
-
st.markdown("#
|
243 |
st.image(
|
244 |
"http://35.237.102.64/public/logo.png",
|
245 |
)
|
@@ -258,7 +256,7 @@ def run_client():
|
|
258 |
css = f.read()
|
259 |
|
260 |
st.set_page_config(
|
261 |
-
page_title="
|
262 |
page_icon="🦮",
|
263 |
layout="wide",
|
264 |
)
|
|
|
232 |
|
233 |
relik_question = Relik(reader=reader, retriever=retriever_question, window_size="none", top_k=100, task="span", device="cpu", document_index_device="cpu")
|
234 |
|
|
|
|
|
235 |
return [relik_question, retriever_intervention_gpt_db, retriever_outcome_gpt_db, retriever_intervention_gpt_llama_db, retriever_outcome_gpt_llama_db, retriever_intervention_gpt_taxonomy, retriever_outcome_gpt_taxonomy, retriever_intervention_gpt_llama_taxonomy, retriever_outcome_gpt_llama_taxonomy]
|
236 |
|
237 |
def set_intro(css):
|
238 |
# intro
|
239 |
|
240 |
+
st.markdown("# ImpactAI")
|
241 |
st.image(
|
242 |
"http://35.237.102.64/public/logo.png",
|
243 |
)
|
|
|
256 |
css = f.read()
|
257 |
|
258 |
st.set_page_config(
|
259 |
+
page_title="ImpactAI",
|
260 |
page_icon="🦮",
|
261 |
layout="wide",
|
262 |
)
|