Spaces:
Build error
Build error
Commit
·
e3a5291
1
Parent(s):
5068b33
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ tokenizer = AutoTokenizer.from_pretrained('Kwasiasomani/Finetuned-Roberta-base-m
|
|
11 |
config = AutoConfig.from_pretrained('Kwasiasomani/Finetuned-Roberta-base-model')
|
12 |
model = AutoModelForSequenceClassification.from_pretrained('Kwasiasomani/Finetuned-Roberta-base-model')
|
13 |
|
14 |
-
# Preprocess text (username and link placeholders)
|
15 |
def preprocess(text):
|
16 |
new_text = []
|
17 |
for t in text.split(" "):
|
|
|
11 |
config = AutoConfig.from_pretrained('Kwasiasomani/Finetuned-Roberta-base-model')
|
12 |
model = AutoModelForSequenceClassification.from_pretrained('Kwasiasomani/Finetuned-Roberta-base-model')
|
13 |
|
14 |
+
# #Preprocess text (username and link placeholders)
|
15 |
def preprocess(text):
|
16 |
new_text = []
|
17 |
for t in text.split(" "):
|