jayasuriyaK commited on
Commit
df33048
1 Parent(s): 965cac1

Update app.py

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