Spaces:
Sleeping
Sleeping
Commit ·
8f05c27
1
Parent(s): 29c5a01
Update model.py
Browse files
model.py
CHANGED
|
@@ -7,7 +7,7 @@ Batch : HCK-009
|
|
| 7 |
|
| 8 |
Objective : Creating a page for emotion classification
|
| 9 |
'''
|
| 10 |
-
from functions import
|
| 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='
|
| 22 |
-
value='
|
| 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',
|