Beehzod commited on
Commit
c0fa9a7
·
verified ·
1 Parent(s): bec4c85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ from transformers import pipeline
16
  ner_pipeline = pipeline("ner", model="Beehzod/smart-finetuned-ner")
17
 
18
  # Example predictions
19
- text = "Hugging Face Inc. is based in New York City, and its CEO is Clement Delangue."
20
  results = ner_pipeline(text)
21
 
22
  for entity in results:
 
16
  ner_pipeline = pipeline("ner", model="Beehzod/smart-finetuned-ner")
17
 
18
  # Example predictions
19
+ text = st.text_area('enter text: ')
20
  results = ner_pipeline(text)
21
 
22
  for entity in results: