willco-afk commited on
Commit
ad90c3e
·
verified ·
1 Parent(s): 595d96f

Update app.py

Browse files

model name connected

Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -5,6 +5,9 @@ import torch
5
  # Replace this with your actual model name
6
  model_name = "willco-afk/my-model-name"
7
 
 
 
 
8
  # Load the model and tokenizer from Hugging Face Hub
9
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
10
  tokenizer = AutoTokenizer.from_pretrained(model_name)
 
5
  # Replace this with your actual model name
6
  model_name = "willco-afk/my-model-name"
7
 
8
+ # Define the model name correctly
9
+ model_name = "willco-afk/my-model-name"
10
+
11
  # Load the model and tokenizer from Hugging Face Hub
12
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
13
  tokenizer = AutoTokenizer.from_pretrained(model_name)