Kleo commited on
Commit
66a5be5
·
1 Parent(s): 24c73cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ import tensorflow as tf
15
  tokenizer = BertTokenizer.from_pretrained("nlpaueb/bert-base-greek-uncased-v1")
16
 
17
  # Load model
18
- model = TFBertForSequenceClassification.from_pretrained('tf_model.h5')
19
 
20
  def check_sarcasm(sentence):
21
  tf_batch = tokenizer(sentence, max_length=128, padding=True, truncation=True, return_tensors='tf')
 
15
  tokenizer = BertTokenizer.from_pretrained("nlpaueb/bert-base-greek-uncased-v1")
16
 
17
  # Load model
18
+ model = TFBertForSequenceClassification.from_pretrained('https://huggingface.co/spaces/Kleo/Sarcasm/tree/main')
19
 
20
  def check_sarcasm(sentence):
21
  tf_batch = tokenizer(sentence, max_length=128, padding=True, truncation=True, return_tensors='tf')