hrlima commited on
Commit
7480ceb
·
verified ·
1 Parent(s): e621b89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -98,7 +98,7 @@ def analyze():
98
  # =============================
99
  # Chamada direta à API do Hugging Face
100
  # =============================
101
- HF_MODEL = "pysentimiento/robertuito-emotion-analysis"
102
  HF_URL = f"https://api-inference.huggingface.co/models/{HF_MODEL}"
103
 
104
  headers = {
 
98
  # =============================
99
  # Chamada direta à API do Hugging Face
100
  # =============================
101
+ HF_MODEL = "j-hartmann/emotion-english-portuguese"
102
  HF_URL = f"https://api-inference.huggingface.co/models/{HF_MODEL}"
103
 
104
  headers = {