Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ import tensorflow as tf
|
|
16 |
tokenizer = BertTokenizer.from_pretrained("nlpaueb/bert-base-greek-uncased-v1")
|
17 |
|
18 |
# Load model
|
19 |
-
model = TFBertForSequenceClassification.from_pretrained('
|
20 |
|
21 |
#pipeline= pipeline(task="text-classification", model="https://huggingface.co/spaces/Kleo/Sarcasm/blob/main/")
|
22 |
def check_sarcasm(sentence):
|
|
|
16 |
tokenizer = BertTokenizer.from_pretrained("nlpaueb/bert-base-greek-uncased-v1")
|
17 |
|
18 |
# Load model
|
19 |
+
model = TFBertForSequenceClassification.from_pretrained('Kleo/finetuned_bert')
|
20 |
|
21 |
#pipeline= pipeline(task="text-classification", model="https://huggingface.co/spaces/Kleo/Sarcasm/blob/main/")
|
22 |
def check_sarcasm(sentence):
|