Update pages/type_text.py
Browse files- pages/type_text.py +2 -0
pages/type_text.py
CHANGED
@@ -186,6 +186,7 @@ if INTdesc_input is not None and st.button(":blue[Map to SBS codes]", key="run_s
|
|
186 |
dfALL = pd.concat([dfALL, pd.DataFrame([dictA])], ignore_index=True)
|
187 |
|
188 |
st.dataframe(data=dfALL, hide_index=True)
|
|
|
189 |
components.html(scroll_script, height=0, width=0)
|
190 |
|
191 |
display_format = "ask REASONING MODEL: Which, if any, of the following SBS descriptions corresponds best to " + INTdesc_input +"? "
|
@@ -210,6 +211,7 @@ if INTdesc_input is not None and st.button(":blue[Map to SBS codes]", key="run_s
|
|
210 |
max_new_tokens=256,
|
211 |
)
|
212 |
st.write(outputs[0]["generated_text"][-1]["content"])
|
|
|
213 |
#components.html(scroll_script, height=0, width=0)
|
214 |
|
215 |
bs, b1, b2, b3, bLast = st.columns([0.75, 1.5, 1.5, 1.5, 0.75])
|
|
|
186 |
dfALL = pd.concat([dfALL, pd.DataFrame([dictA])], ignore_index=True)
|
187 |
|
188 |
st.dataframe(data=dfALL, hide_index=True)
|
189 |
+
st.markdown('<div id="bottom"></div>', unsafe_allow_html=True)
|
190 |
components.html(scroll_script, height=0, width=0)
|
191 |
|
192 |
display_format = "ask REASONING MODEL: Which, if any, of the following SBS descriptions corresponds best to " + INTdesc_input +"? "
|
|
|
211 |
max_new_tokens=256,
|
212 |
)
|
213 |
st.write(outputs[0]["generated_text"][-1]["content"])
|
214 |
+
st.markdown('<div id="bottom"></div>', unsafe_allow_html=True)
|
215 |
#components.html(scroll_script, height=0, width=0)
|
216 |
|
217 |
bs, b1, b2, b3, bLast = st.columns([0.75, 1.5, 1.5, 1.5, 0.75])
|