lt12200028 commited on
Commit
96fae21
·
1 Parent(s): 5837e48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import tensorflow as tf
7
  tokenizer = BertTokenizer.from_pretrained("nlpaueb/bert-base-greek-uncased-v1")
8
 
9
  # Load model
10
- model = TFBertForSequenceClassification.from_pretrained('lt12200028/Sarcasm-Detection-G')
11
 
12
  def check_sarcasm(sentence):
13
  tf_batch = tokenizer(sentence, max_length=128, padding=True, truncation=True, return_tensors='tf')
 
7
  tokenizer = BertTokenizer.from_pretrained("nlpaueb/bert-base-greek-uncased-v1")
8
 
9
  # Load model
10
+ model = TFBertForSequenceClassification.from_pretrained('lt12200028/Sarcasm-Detection-GR')
11
 
12
  def check_sarcasm(sentence):
13
  tf_batch = tokenizer(sentence, max_length=128, padding=True, truncation=True, return_tensors='tf')