Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ df = pd.read_csv("Comments.csv")
|
|
| 9 |
comments = df["Comment"].tolist()
|
| 10 |
|
| 11 |
# Create a selectbox to choose a comment
|
| 12 |
-
selected_comment = st.selectbox("
|
| 13 |
|
| 14 |
# Display the selected comment in the text input
|
| 15 |
text = st.text_input('Entrer le texte à analyser', value=selected_comment)
|
|
@@ -30,4 +30,5 @@ if text and candidate_labels: # Vérifier si du texte et au moins une étiquett
|
|
| 30 |
else:
|
| 31 |
st.write("Veuillez entrer du texte pour l'analyse.")
|
| 32 |
image = "toph1.png"
|
|
|
|
| 33 |
st.image(image, caption="Image en bas de la page", use_column_width=True)
|
|
|
|
| 9 |
comments = df["Comment"].tolist()
|
| 10 |
|
| 11 |
# Create a selectbox to choose a comment
|
| 12 |
+
selected_comment = st.selectbox("Veiller selelctionner un commentaire", comments)
|
| 13 |
|
| 14 |
# Display the selected comment in the text input
|
| 15 |
text = st.text_input('Entrer le texte à analyser', value=selected_comment)
|
|
|
|
| 30 |
else:
|
| 31 |
st.write("Veuillez entrer du texte pour l'analyse.")
|
| 32 |
image = "toph1.png"
|
| 33 |
+
st.text("\n\n\n")
|
| 34 |
st.image(image, caption="Image en bas de la page", use_column_width=True)
|