Shiro26 commited on
Commit
f1bee0d
·
1 Parent(s): 800460f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,11 +4,11 @@ from transformers import pipeline
4
  model = pipeline("text-classification", model="/home/user/app/MendoBERT/", tokenizer="indolem/indobert-base-uncased")
5
  basemodel = pipeline("text-classification", model="/home/user/app/IndoLEM/", tokenizer="indolem/indobert-base-uncased")
6
 
7
- placeholder = st.empty()
8
-
9
  if 'options' not in st.session_state:
10
  st.session_state['options'] = ""
11
 
 
 
12
  with placeholder:
13
  text = st.text_area('Enter some text: ', key = 'options')
14
 
 
4
  model = pipeline("text-classification", model="/home/user/app/MendoBERT/", tokenizer="indolem/indobert-base-uncased")
5
  basemodel = pipeline("text-classification", model="/home/user/app/IndoLEM/", tokenizer="indolem/indobert-base-uncased")
6
 
 
 
7
  if 'options' not in st.session_state:
8
  st.session_state['options'] = ""
9
 
10
+ placeholder = st.empty()
11
+
12
  with placeholder:
13
  text = st.text_area('Enter some text: ', key = 'options')
14