lt12200028 commited on
Commit
38bc9f2
1 Parent(s): ea1d4a7

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('new_emdedding trial')
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('sarcasm_detection_gr/biGRU.hdf5')
11
 
12
  def check_sarcasm(sentence):
13
  tf_batch = tokenizer(sentence, max_length=128, padding=True, truncation=True, return_tensors='tf')