achmaddhani commited on
Commit
8f05c27
·
1 Parent(s): 29c5a01

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +3 -3
model.py CHANGED
@@ -7,7 +7,7 @@ Batch : HCK-009
7
 
8
  Objective : Creating a page for emotion classification
9
  '''
10
- from functions import get_wordnet_pos, preprocess_text, prediction
11
  import streamlit as st
12
  import pandas as pd
13
  import joblib
@@ -18,8 +18,8 @@ def run():
18
  This function is for running the page for predictions
19
  '''
20
  st.title('What are you feeling right now ?')
21
- user_input = st.text_input(label='Enter some text',
22
- value='default text',
23
  max_chars=50,
24
  key='text_input_key',
25
  type='default',
 
7
 
8
  Objective : Creating a page for emotion classification
9
  '''
10
+ from functions import preprocess_text, prediction
11
  import streamlit as st
12
  import pandas as pd
13
  import joblib
 
18
  This function is for running the page for predictions
19
  '''
20
  st.title('What are you feeling right now ?')
21
+ user_input = st.text_input(label='Please what you feel',
22
+ value='Today, i feel...',
23
  max_chars=50,
24
  key='text_input_key',
25
  type='default',