georad commited on
Commit
d388b4c
·
verified ·
1 Parent(s): 28a9d76

Update pages/type_text.py

Browse files
Files changed (1) hide show
  1. pages/type_text.py +3 -4
pages/type_text.py CHANGED
@@ -207,10 +207,9 @@ if INTdesc_input and st.button(":blue[Map to SBS codes]", key="run_st_model"): #
207
  {"role": "system", "content": "You are a knowledgable AI assistant who always answers truthfully and precisely!"},
208
  {"role": "user", "content": prompt},
209
  ]
210
- # Remove status_text and spinner below 2 lines as the pipeline call might handle its own
211
- #status_text = st.empty()
212
- st.warning("It may take several minutes for Reasoning Model to analyze above 5 options and output results below")
213
- st.write("") # Add some space before the Reasoning Model output
214
  st.subheader("Reasoning Model Output:") # Added a subheader for clarity
215
  with st.spinner("Running Reasoning Model..."): # Added spinner for Reasoning model
216
  outputs = pipe(
 
207
  {"role": "system", "content": "You are a knowledgable AI assistant who always answers truthfully and precisely!"},
208
  {"role": "user", "content": prompt},
209
  ]
210
+
211
+ st.warning("It may take several minutes for Reasoning Model to analyze above 5 options and output results below") # optional warning
212
+ st.write("") # optional Add some space before the Reasoning Model output
 
213
  st.subheader("Reasoning Model Output:") # Added a subheader for clarity
214
  with st.spinner("Running Reasoning Model..."): # Added spinner for Reasoning model
215
  outputs = pipe(