isan2001 commited on
Commit
74c5b7d
1 Parent(s): ef3d73f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -3,6 +3,8 @@ from transformers import BertTokenizer
3
  from transformers import TFBertForSequenceClassification
4
  from Sastrawi.Stemmer.StemmerFactory import StemmerFactory # Import Sastrawi
5
  import streamlit as st
 
 
6
 
7
  # Fungsi untuk memuat model BERT dan tokenizer
8
  PRE_TRAINED_MODEL = 'indobenchmark/indobert-base-p2'
 
3
  from transformers import TFBertForSequenceClassification
4
  from Sastrawi.Stemmer.StemmerFactory import StemmerFactory # Import Sastrawi
5
  import streamlit as st
6
+ import re
7
+ from PIL import Image
8
 
9
  # Fungsi untuk memuat model BERT dan tokenizer
10
  PRE_TRAINED_MODEL = 'indobenchmark/indobert-base-p2'