Bijoy09 commited on
Commit
384e68d
1 Parent(s): cd6d890

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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/Bangla_spam_sms_detection_app"
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)