Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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():
|