Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ text = st.text_area("Enter the text", "")
|
|
18 |
# Perform analysis result when the user clicks the "Analyse" button
|
19 |
if st.button("Analyse"):
|
20 |
# Perform text classification on the input text
|
21 |
-
trans =
|
22 |
results = sentiment_pipeline(trans)[0]
|
23 |
|
24 |
# Display the classification result
|
|
|
18 |
# Perform analysis result when the user clicks the "Analyse" button
|
19 |
if st.button("Analyse"):
|
20 |
# Perform text classification on the input text
|
21 |
+
trans = trans_pipe(text)[0]
|
22 |
results = sentiment_pipeline(trans)[0]
|
23 |
|
24 |
# Display the classification result
|