AIEcosystem commited on
Commit
0966d4f
·
verified ·
1 Parent(s): 02b866a

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -544,7 +544,7 @@ COMET_PROJECT_NAME = os.environ.get("COMET_PROJECT_NAME")
544
  comet_initialized = bool(COMET_API_KEY and COMET_WORKSPACE and COMET_PROJECT_NAME)
545
 
546
  # --- Model Loading ---
547
- @st.cache_resourced
548
  def load_ner_model(labels):
549
  """Loads the GLiNER model and caches it."""
550
  try:
 
544
  comet_initialized = bool(COMET_API_KEY and COMET_WORKSPACE and COMET_PROJECT_NAME)
545
 
546
  # --- Model Loading ---
547
+ @st.cache_resource
548
  def load_ner_model(labels):
549
  """Loads the GLiNER model and caches it."""
550
  try: