Spaces:
Running
Running
Commit
·
fc696d7
1
Parent(s):
16558a6
Update app.py
Browse files
app.py
CHANGED
|
@@ -75,7 +75,7 @@ if option == "Exemple 1":
|
|
| 75 |
else :
|
| 76 |
list_to_display.append(display.split('","')[i])
|
| 77 |
annotated_text(*list_to_display)
|
| 78 |
-
|
| 79 |
with st.expander("Afficher le score pour chacune des entitées trouvées :"):
|
| 80 |
for i in range(len(to_print)) :
|
| 81 |
st.write("- Score pour que ",to_print[i]["word"]," soit de type", to_print[i]["entity_group"]," : ",round(to_print[i]["score"],3))
|
|
@@ -93,7 +93,7 @@ else:
|
|
| 93 |
else :
|
| 94 |
list_to_display.append(display.split('","')[i])
|
| 95 |
annotated_text(*list_to_display)
|
| 96 |
-
|
| 97 |
with st.expander("Afficher le score pour chacune des entitées trouvées :"):
|
| 98 |
for i in range(len(to_print)) :
|
| 99 |
st.write("- Score pour que ",to_print[i]["word"]," soit de type", to_print[i]["entity_group"]," : ",round(to_print[i]["score"],3))
|
|
|
|
| 75 |
else :
|
| 76 |
list_to_display.append(display.split('","')[i])
|
| 77 |
annotated_text(*list_to_display)
|
| 78 |
+
st.write("\n")
|
| 79 |
with st.expander("Afficher le score pour chacune des entitées trouvées :"):
|
| 80 |
for i in range(len(to_print)) :
|
| 81 |
st.write("- Score pour que ",to_print[i]["word"]," soit de type", to_print[i]["entity_group"]," : ",round(to_print[i]["score"],3))
|
|
|
|
| 93 |
else :
|
| 94 |
list_to_display.append(display.split('","')[i])
|
| 95 |
annotated_text(*list_to_display)
|
| 96 |
+
st.write("\n")
|
| 97 |
with st.expander("Afficher le score pour chacune des entitées trouvées :"):
|
| 98 |
for i in range(len(to_print)) :
|
| 99 |
st.write("- Score pour que ",to_print[i]["word"]," soit de type", to_print[i]["entity_group"]," : ",round(to_print[i]["score"],3))
|