Spaces:
Sleeping
Sleeping
Update pages/core_risk.py
Browse files- pages/core_risk.py +2 -2
pages/core_risk.py
CHANGED
|
@@ -110,9 +110,9 @@ st.set_page_config(page_title="core_risk", page_icon="📈")
|
|
| 110 |
if 'topic_class' not in session_state:
|
| 111 |
session_state['topic_class']= ""
|
| 112 |
|
| 113 |
-
st.title("
|
| 114 |
text= st.text_area(label= "Please write the text bellow",
|
| 115 |
-
placeholder="What does the
|
| 116 |
def classify(text):
|
| 117 |
session_state['topic_class'] = process(text)
|
| 118 |
|
|
|
|
| 110 |
if 'topic_class' not in session_state:
|
| 111 |
session_state['topic_class']= ""
|
| 112 |
|
| 113 |
+
st.title("Core Risk Category Classifier")
|
| 114 |
text= st.text_area(label= "Please write the text bellow",
|
| 115 |
+
placeholder="What does the text say?")
|
| 116 |
def classify(text):
|
| 117 |
session_state['topic_class'] = process(text)
|
| 118 |
|