HaryaniAnjali commited on
Commit
fe9264b
·
verified ·
1 Parent(s): 5d32e83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,8 +2,8 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  # Load your model from Hugging Face
5
- model_name = "your-username/your-model-name"
6
- classifier = pipeline("text-classification", model=model_name)
7
 
8
  def classify_text(text):
9
  return classifier(text)
 
2
  from transformers import pipeline
3
 
4
  # Load your model from Hugging Face
5
+ model_name = "HaryaniAnjali/Llama_3.2_Trained_Emotion"
6
+ classifier = pipeline("Emotion-Classification", model=model_name)
7
 
8
  def classify_text(text):
9
  return classifier(text)