georad commited on
Commit
9e4d832
·
verified ·
1 Parent(s): 98b4d18

Update pages/type_text.py

Browse files
Files changed (1) hide show
  1. pages/type_text.py +2 -1
pages/type_text.py CHANGED
@@ -175,7 +175,7 @@ if INTdesc_input and st.button(":blue[Map to SBS codes]", key="run_st_model"): #
175
  #st.markdown('<div id="bottom"></div>', unsafe_allow_html=True)
176
  #components.html(scroll_script, height=0, width=0)
177
 
178
- st.subheader("Reasoning Model Output:") # optional Add a subheader for clarity
179
  ## Define the Reasoning models
180
  rs_models = {
181
  '(medium speed) original model for general domain: meta-llama/Llama-3.2-1B-Instruct': 'meta-llama/Llama-3.2-1B-Instruct',
@@ -218,6 +218,7 @@ if INTdesc_input and st.button(":blue[Map to SBS codes]", key="run_st_model"): #
218
  messages,
219
  max_new_tokens=256,
220
  )
 
221
  st.write(outputs[0]["generated_text"][-1]["content"])
222
 
223
  # Download buttons
 
175
  #st.markdown('<div id="bottom"></div>', unsafe_allow_html=True)
176
  #components.html(scroll_script, height=0, width=0)
177
 
178
+
179
  ## Define the Reasoning models
180
  rs_models = {
181
  '(medium speed) original model for general domain: meta-llama/Llama-3.2-1B-Instruct': 'meta-llama/Llama-3.2-1B-Instruct',
 
218
  messages,
219
  max_new_tokens=256,
220
  )
221
+ st.subheader("Reasoning Model Output:") # optional Add a subheader for clarity
222
  st.write(outputs[0]["generated_text"][-1]["content"])
223
 
224
  # Download buttons