AIEcosystem commited on
Commit
069ce29
·
verified ·
1 Parent(s): 471ac48

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -635,7 +635,7 @@ COMET_PROJECT_NAME = os.environ.get("COMET_PROJECT_NAME")
635
  comet_initialized = bool(COMET_API_KEY and COMET_WORKSPACE and COMET_PROJECT_NAME)
636
 
637
  # --- Model Loading ---
638
- @st.cache_resourced
639
  def load_ner_model():
640
  """Loads the GLiNER model and caches it."""
641
  try:
 
635
  comet_initialized = bool(COMET_API_KEY and COMET_WORKSPACE and COMET_PROJECT_NAME)
636
 
637
  # --- Model Loading ---
638
+ @st.cache_resource
639
  def load_ner_model():
640
  """Loads the GLiNER model and caches it."""
641
  try: