YonasMersha commited on
Commit
5600200
·
verified ·
1 Parent(s): c4c6bda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,8 @@ import torch
5
 
6
 
7
  # Load your model
8
- classifier = pipeline("text-classification", model="YonasMersha/fine-tuned-distilbert-emotion")
 
9
 
10
  # Define the prediction function
11
  def classify(text):
 
5
 
6
 
7
  # Load your model
8
+ classifier = pipeline("text-classification", model="YonasMersha/fine-tuned-distilbert-emotion", tokenizer='YonasMersha/fine_tuned_distilbert_emotion')
9
+
10
 
11
  # Define the prediction function
12
  def classify(text):