Rodrigo Uribe commited on
Commit
386812f
1 Parent(s): 87e15b9

normal slash

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import TFDistilBertForSequenceClassification, DistilBertTokenizerFast
3
 
4
  # Load the model and tokenizer from Hugging Face Hub
5
- model_name = "Buebito\HamOrSpam_Model" # Replace with your actual model path
6
  tokenizer = DistilBertTokenizerFast.from_pretrained(model_name)
7
  model = TFDistilBertForSequenceClassification.from_pretrained(model_name)
8
 
 
2
  from transformers import TFDistilBertForSequenceClassification, DistilBertTokenizerFast
3
 
4
  # Load the model and tokenizer from Hugging Face Hub
5
+ model_name = "Buebito/HamOrSpam_Model" # Replace with your actual model path
6
  tokenizer = DistilBertTokenizerFast.from_pretrained(model_name)
7
  model = TFDistilBertForSequenceClassification.from_pretrained(model_name)
8