AIEcosystem commited on
Commit
0c92e3b
·
verified ·
1 Parent(s): 3dbd695

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -507,7 +507,7 @@ COMET_PROJECT_NAME = os.environ.get("COMET_PROJECT_NAME")
507
  comet_initialized = bool(COMET_API_KEY and COMET_WORKSPACE and COMET_PROJECT_NAME)
508
 
509
  # --- Model Loading ---
510
- @st.cache_resourced
511
  def load_ner_model(labels):
512
  """Loads the GLiNER model and caches it."""
513
  try:
 
507
  comet_initialized = bool(COMET_API_KEY and COMET_WORKSPACE and COMET_PROJECT_NAME)
508
 
509
  # --- Model Loading ---
510
+ @st.cache_resource
511
  def load_ner_model(labels):
512
  """Loads the GLiNER model and caches it."""
513
  try: