MHULO commited on
Commit
8d8398d
·
verified ·
1 Parent(s): 4661247

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from transformers import pipeline
5
  app = FastAPI()
6
 
7
  # Load the model and tokenizer from the Hugging Face Hub
8
- model_name = "your-username/ner-model"
9
  nlp = pipeline("ner", model=model_name, tokenizer=model_name)
10
 
11
  class TextRequest(BaseModel):
 
5
  app = FastAPI()
6
 
7
  # Load the model and tokenizer from the Hugging Face Hub
8
+ model_name = "MHULO/yembaner"
9
  nlp = pipeline("ner", model=model_name, tokenizer=model_name)
10
 
11
  class TextRequest(BaseModel):