naufalnashif commited on
Commit
d0ba2db
1 Parent(s): 944ad8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -184,7 +184,7 @@ if st.button("Analysis") and input_option == "Teks Manual" and user_input:
184
  results.append((text, cleaned_text, norm_slang_text, sentiment_label, emoticon))
185
  analisis = True
186
 
187
- elif st.button("Analysis") and input_option == "Unggah Berkas XLSX" and uploaded_file is not None:
188
  if 'Text' in df.columns:
189
  for text in texts:
190
  sentiment_label = predict_sentiment(text, sentiment_model, tfidf_vectorizer, lookp_dict)
 
184
  results.append((text, cleaned_text, norm_slang_text, sentiment_label, emoticon))
185
  analisis = True
186
 
187
+ elif input_option == "Unggah Berkas XLSX" and uploaded_file is not None:
188
  if 'Text' in df.columns:
189
  for text in texts:
190
  sentiment_label = predict_sentiment(text, sentiment_model, tfidf_vectorizer, lookp_dict)