Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ app = FastAPI()
|
|
10 |
os.environ['TRANSFORMERS_CACHE'] = os.getenv('TRANSFORMERS_CACHE', '/app/cache')
|
11 |
|
12 |
# Load model and tokenizer
|
13 |
-
model_name = "Bijoy09/
|
14 |
try:
|
15 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
16 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
|
|
10 |
os.environ['TRANSFORMERS_CACHE'] = os.getenv('TRANSFORMERS_CACHE', '/app/cache')
|
11 |
|
12 |
# Load model and tokenizer
|
13 |
+
model_name = "Bijoy09/MObilebert"
|
14 |
try:
|
15 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
16 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|