arham061 commited on
Commit
538482c
1 Parent(s): c84ca85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import BertTokenizer, BertForSequenceClassification
3
  import torch
4
 
5
  # Load the model and tokenizer from the folder in Hugging Face space
6
- model_folder = "arham061/distilhubert-finetuned-RHD_Dataset" # Replace with your actual username and model name
7
  tokenizer = BertTokenizer.from_pretrained(model_folder)
8
  model = BertForSequenceClassification.from_pretrained(model_folder)
9
 
 
3
  import torch
4
 
5
  # Load the model and tokenizer from the folder in Hugging Face space
6
+ model_folder = "FYP_Model" # Replace with your actual username and model name
7
  tokenizer = BertTokenizer.from_pretrained(model_folder)
8
  model = BertForSequenceClassification.from_pretrained(model_folder)
9