willco-afk commited on
Commit
eb6a2b0
·
verified ·
1 Parent(s): 6476219

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,8 +3,8 @@ import torch
3
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
4
 
5
  # Load the model and tokenizer
6
- tokenizer = AutoTokenizer.from_pretrained("huggingface_user/my-model-name") # Use your model name here
7
- model = AutoModelForSequenceClassification.from_pretrained("huggingface_user/my-model-name")
8
 
9
  # Function to classify input text
10
  def classify_text(text):
 
3
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
4
 
5
  # Load the model and tokenizer
6
+ tokenizer = AutoTokenizer.from_pretrained("willco-afk/my-model-name")
7
+ model = AutoModelForSequenceClassification.from_pretrained("willco-afk/my-model-name")
8
 
9
  # Function to classify input text
10
  def classify_text(text):