Rodrigo Uribe
commited on
Commit
•
7bfd230
1
Parent(s):
96e7d44
import tensorflow
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
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
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import TFDistilBertForSequenceClassification, DistilBertTokenizerFast
|
3 |
+
import tensorflow as tf
|
4 |
|
5 |
# Load the model and tokenizer from Hugging Face Hub
|
6 |
model_name = "Buebito/HamOrSpam_Model" # Replace with your actual model path
|