tournas commited on
Commit
afd840f
·
verified ·
1 Parent(s): 59c8294

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -3,6 +3,9 @@ import numpy as np
3
  from transformers import BertTokenizer, BertForSequenceClassification
4
  import torch
5
 
 
 
 
6
  @st.cache_resource
7
  def get_model():
8
  tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
 
3
  from transformers import BertTokenizer, BertForSequenceClassification
4
  import torch
5
 
6
+ # Add title
7
+ st.title("Toxic Comment Classification")
8
+
9
  @st.cache_resource
10
  def get_model():
11
  tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')