jayasuriyaK commited on
Commit
90315b6
1 Parent(s): 0a05fa2

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 AutoModelForSequenceClassification, AutoTokenizer
5
  import math, keras_ocr
6
  # Initialize pipeline
7
  pipeline = None
8
- model_path="NSFW_text_classifier"
9
  tokenizer = AutoTokenizer.from_pretrained(model_path)
10
  model = AutoModelForSequenceClassification.from_pretrained(model_path)
11
 
 
5
  import math, keras_ocr
6
  # Initialize pipeline
7
  pipeline = None
8
+ model_path="CustomModel"
9
  tokenizer = AutoTokenizer.from_pretrained(model_path)
10
  model = AutoModelForSequenceClassification.from_pretrained(model_path)
11