Update pages/type_text.py
Browse files- pages/type_text.py +4 -2
pages/type_text.py
CHANGED
@@ -95,8 +95,8 @@ def convert_json(df:pd.DataFrame):
|
|
95 |
|
96 |
INTdesc_input = st.text_input("Type internal description", key="user_input")
|
97 |
|
98 |
-
|
99 |
-
|
100 |
right_column.button("Reset", on_click=on_click)
|
101 |
|
102 |
numMAPPINGS_input = 5
|
@@ -133,6 +133,8 @@ def load_model():
|
|
133 |
model = load_model()
|
134 |
|
135 |
|
|
|
|
|
136 |
|
137 |
INTdesc_embedding = model.encode(INTdesc_input)
|
138 |
|
|
|
95 |
|
96 |
INTdesc_input = st.text_input("Type internal description", key="user_input")
|
97 |
|
98 |
+
placeholder, right_column = st.columns(2)
|
99 |
+
#placeholder_clicked = placeholder.button("Perform some action", key="user_placeholder")
|
100 |
right_column.button("Reset", on_click=on_click)
|
101 |
|
102 |
numMAPPINGS_input = 5
|
|
|
133 |
model = load_model()
|
134 |
|
135 |
|
136 |
+
mapSBS_button = st.button("Map to SBS codes")
|
137 |
+
|
138 |
|
139 |
INTdesc_embedding = model.encode(INTdesc_input)
|
140 |
|