awacke1 commited on
Commit
c08ef85
·
1 Parent(s): 7faacb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@ import streamlit as st
2
  import altair as alt
3
  import torch
4
  from transformers import AlbertTokenizer, AlbertForSequenceClassification
 
5
 
6
  # Load pre-trained model and tokenizer
7
  model_name = "albert-base-v2"
 
2
  import altair as alt
3
  import torch
4
  from transformers import AlbertTokenizer, AlbertForSequenceClassification
5
+ import sentencepiece as spm
6
 
7
  # Load pre-trained model and tokenizer
8
  model_name = "albert-base-v2"