Spaces:
Sleeping
Sleeping
jayasuriyaK
commited on
Commit
•
90315b6
1
Parent(s):
0a05fa2
Update app.py
Browse files
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="
|
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 |
|