wadood commited on
Commit
02128a9
1 Parent(s): c50c9d2

fixed back slash formatting in f string

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -112,9 +112,12 @@ if __name__ == "__main__":
112
  ### EVALUATION METRICS COMPARISION ###
113
 
114
  st.subheader("Evaluation Metrics Comparision") # , divider='rainbow')
 
 
 
115
  st.markdown(
116
  "The different evaluation metrics we have for the NER task are\n"
117
- f"{''.join(['- '+evaluation_metric.name+'\n' for evaluation_metric in EVALUATION_METRICS])}"
118
  )
119
 
120
  with st.expander("View Predictions Details"):
 
112
  ### EVALUATION METRICS COMPARISION ###
113
 
114
  st.subheader("Evaluation Metrics Comparision") # , divider='rainbow')
115
+ metric_names = "\n".join(
116
+ ["- " + evaluation_metric.name for evaluation_metric in EVALUATION_METRICS]
117
+ )
118
  st.markdown(
119
  "The different evaluation metrics we have for the NER task are\n"
120
+ f"{metric_names}"
121
  )
122
 
123
  with st.expander("View Predictions Details"):