Spaces:
Sleeping
Sleeping
jayasuriyaK
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import math, keras_ocr
|
|
6 |
# Initialize pipeline
|
7 |
pipeline = None
|
8 |
model_path="CustomModel"
|
9 |
-
tokenizer = AutoTokenizer.from_pretrained(
|
10 |
model = AutoModelForSequenceClassification.from_pretrained(model_path)
|
11 |
|
12 |
import streamlit as st
|
|
|
6 |
# Initialize pipeline
|
7 |
pipeline = None
|
8 |
model_path="CustomModel"
|
9 |
+
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased')
|
10 |
model = AutoModelForSequenceClassification.from_pretrained(model_path)
|
11 |
|
12 |
import streamlit as st
|