martin8 commited on
Commit
dff5403
1 Parent(s): 788bf15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -666,7 +666,7 @@ def task_categorization_model_predictions():
666
  st.markdown(f'<p style=" margin-left: 0px;color: #012d51;font-size:18px;border-radius:%;">{"The best models selected for this domain:"}</p>', unsafe_allow_html=True)
667
 
668
 
669
- st.markdown(f'<p style="margin-left: 0px;background-color:#e1e1e1; color:#012d51;font-size:18px;border-radius:%;">{"Top chioce:"+top_models[0]}</p>', unsafe_allow_html=True)
670
 
671
  st.image("./buttons1.png")
672
 
@@ -736,15 +736,15 @@ def model_selector_sbert():
736
  st.markdown(f'<p style=" margin-left: 0px;color: #012d51;font-size:18px;border-radius:%;">{"The best models selected for this task:"}</p>', unsafe_allow_html=True)
737
 
738
 
739
- st.markdown(f'<p style="margin-left: 0px;background-color:#e1e1e1; color:#012d51;font-size:18px;border-radius:%;">{"1- "+top_models[0]}</p>', unsafe_allow_html=True)
740
 
741
  st.image("./buttons1.png")
742
 
743
  #if st.button("Show more"):
744
- st.markdown(f'<p style="margin-left: 0px;background-color:#e1e1e1; color:#012d51;font-size:18px;border-radius:%;">{"2- "+top_models[1]}</p>', unsafe_allow_html=True)
745
  st.image("./buttons1.png")
746
 
747
- st.markdown(f'<p style="margin-left: 0px;background-color:#e1e1e1; color:#012d51;font-size:18px;border-radius:%;">{"3- "+top_models[2]}</p>', unsafe_allow_html=True)
748
  st.image("./buttons1.png")
749
 
750
 
 
666
  st.markdown(f'<p style=" margin-left: 0px;color: #012d51;font-size:18px;border-radius:%;">{"The best models selected for this domain:"}</p>', unsafe_allow_html=True)
667
 
668
 
669
+ st.markdown(f'<p style="margin-left: 0px;background-color:#e1e1e1; color:#012d51;font-size:18px;border-radius:%;">{"Top choice:"+top_models[0]}</p>', unsafe_allow_html=True)
670
 
671
  st.image("./buttons1.png")
672
 
 
736
  st.markdown(f'<p style=" margin-left: 0px;color: #012d51;font-size:18px;border-radius:%;">{"The best models selected for this task:"}</p>', unsafe_allow_html=True)
737
 
738
 
739
+ st.markdown(f'<p style="margin-left: 0px;background-color:#e1e1e1; color:#012d51;font-size:18px;border-radius:%;">{"Top choice: "+top_models[0]}</p>', unsafe_allow_html=True)
740
 
741
  st.image("./buttons1.png")
742
 
743
  #if st.button("Show more"):
744
+ st.markdown(f'<p style="margin-left: 0px;background-color:#e1e1e1; color:#012d51;font-size:18px;border-radius:%;">{"Alternative 1: "+top_models[1]}</p>', unsafe_allow_html=True)
745
  st.image("./buttons1.png")
746
 
747
+ st.markdown(f'<p style="margin-left: 0px;background-color:#e1e1e1; color:#012d51;font-size:18px;border-radius:%;">{"Alternative 2: "+top_models[2]}</p>', unsafe_allow_html=True)
748
  st.image("./buttons1.png")
749
 
750