jchen1234567 commited on
Commit
574362f
1 Parent(s): 98610cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ text = st.text_area("Enter the text to classify", "")
16
  # Perform text classification when the user clicks the "Classify" button
17
  if st.button("Classify"):
18
  # Perform text classification on the input text
19
- translated_text = pipe_tran(text_input)[0]['translation_text']
20
  results = pipe_sent(translated_text)[0]
21
 
22
  # Display the classification result
 
16
  # Perform text classification when the user clicks the "Classify" button
17
  if st.button("Classify"):
18
  # Perform text classification on the input text
19
+ translated_text = pipe_tran(text)[0]['translation_text']
20
  results = pipe_sent(translated_text)[0]
21
 
22
  # Display the classification result