coan commited on
Commit
82272bb
1 Parent(s): ae02709

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -5,6 +5,9 @@ from sklearn.linear_model import LogisticRegression
5
  from joblib import dump, load
6
  import os
7
  from huggingface_hub import HfApi
 
 
 
8
 
9
  # Função para treinar e salvar o modelo
10
  def train_model():
 
5
  from joblib import dump, load
6
  import os
7
  from huggingface_hub import HfApi
8
+ from huggingface_hub import login
9
+
10
+ login(token="seu_novo_token_aqui")
11
 
12
  # Função para treinar e salvar o modelo
13
  def train_model():