phyloforfun commited on
Commit
04463cb
1 Parent(s): af032b9

Major update. Support for 15 LLMs, World Flora Online taxonomy validation, geolocation, 2 OCR methods, significant UI changes, stability improvements, consistent JSON parsing

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1547,7 +1547,7 @@ def content_header():
1547
  else:
1548
  st.session_state['processing_add_on'] = ''
1549
 
1550
- if check_if_usable():
1551
  if st.button(f"Start Processing{st.session_state['processing_add_on']}", type='primary',use_container_width=True):
1552
  st.session_state['formatted_json'] = None
1553
  st.session_state['formatted_json_WFO'] = None
 
1547
  else:
1548
  st.session_state['processing_add_on'] = ''
1549
 
1550
+ if check_if_usable(is_hf=st.session_state['is_hf']):
1551
  if st.button(f"Start Processing{st.session_state['processing_add_on']}", type='primary',use_container_width=True):
1552
  st.session_state['formatted_json'] = None
1553
  st.session_state['formatted_json_WFO'] = None