AIEcosystem commited on
Commit
ec15b51
·
verified ·
1 Parent(s): 6cc6e24

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -456,7 +456,7 @@ COMET_PROJECT_NAME = os.environ.get("COMET_PROJECT_NAME")
456
  comet_initialized = bool(COMET_API_KEY and COMET_WORKSPACE and COMET_PROJECT_NAME)
457
 
458
  # --- Model Loading ---
459
- @st.cache_resourced
460
  def load_ner_model():
461
  """Loads the GLiNER model and caches it."""
462
  try:
 
456
  comet_initialized = bool(COMET_API_KEY and COMET_WORKSPACE and COMET_PROJECT_NAME)
457
 
458
  # --- Model Loading ---
459
+ @st.cache_resource
460
  def load_ner_model():
461
  """Loads the GLiNER model and caches it."""
462
  try: