AIEcosystem commited on
Commit
72de53e
·
verified ·
1 Parent(s): bb70d42

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -119,7 +119,7 @@ def load_gliner_model():
119
  This ensures the model is only loaded once, improving performance.
120
  """
121
  try:
122
- return GLiNER.from_pretrained("knowledgator/gliner-multitask-v1.0", device="cpu")
123
  except Exception as e:
124
  st.error(f"Error loading the GLiNER model: {e}")
125
  st.stop()
 
119
  This ensures the model is only loaded once, improving performance.
120
  """
121
  try:
122
+ return GLiNER.from_pretrained("knowledgator/gliner-multitask-large-v0.5", device="cpu")
123
  except Exception as e:
124
  st.error(f"Error loading the GLiNER model: {e}")
125
  st.stop()