nlpblogs commited on
Commit
f47cc25
·
verified ·
1 Parent(s): 1275feb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -46,8 +46,8 @@ expander.write('''
46
  with st.sidebar:
47
  container = st.container(border=True)
48
  container.write("**Named Entity Recognition (NER)** is the task of extracting and tagging entities in text data. Entities can be persons, organizations, locations, countries, products, events etc.")
49
- st.subheader("Related NER Web Apps", divider="red")
50
- st.link_button("Scandinavian JSON Entity Finder", "https://nlpblogs.com/shop/named-entity-recognition-ner/scandinavian-json-entity-finder/", type="primary")
51
 
52
  # --- Comet ML Setup ---
53
  COMET_API_KEY = os.environ.get("COMET_API_KEY")
@@ -64,7 +64,7 @@ else:
64
  @st.cache_resource
65
  def load_gliner_model():
66
  """Caches the GLiNER model to prevent re-loading on every app rerun."""
67
- return GLiNER.from_pretrained("xomad/gliner-model-merge-large-v1.0")
68
 
69
  # Load the model using the cached function
70
  model = load_gliner_model()
 
46
  with st.sidebar:
47
  container = st.container(border=True)
48
  container.write("**Named Entity Recognition (NER)** is the task of extracting and tagging entities in text data. Entities can be persons, organizations, locations, countries, products, events etc.")
49
+ st.subheader("NER File Builder", divider="red")
50
+ st.link_button("Build your own NER Web App in a minute without writing a single line of code.", "https://nlpblogs.com/shop/named-entity-recognition-ner/ner-file-builder/", type="primary")
51
 
52
  # --- Comet ML Setup ---
53
  COMET_API_KEY = os.environ.get("COMET_API_KEY")
 
64
  @st.cache_resource
65
  def load_gliner_model():
66
  """Caches the GLiNER model to prevent re-loading on every app rerun."""
67
+ return GLiNER.from_pretrained("knowledgator/gliner-multitask-large-v0.5")
68
 
69
  # Load the model using the cached function
70
  model = load_gliner_model()