Howosn commited on
Commit
a796ee7
·
verified ·
1 Parent(s): d4520ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = tran_pipe(text)[0]
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