Update app.py
Browse files
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 = "
|
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):
|