Spaces:
Running
Running
Tu Nombre commited on
Commit ·
342cf59
1
Parent(s): 68454b8
log cuenta
Browse files
main.py
CHANGED
|
@@ -99,7 +99,8 @@ async def crear_space(nicho: str, email: str) -> str:
|
|
| 99 |
cuentas = [(t,u) for t,u in cuentas if t]
|
| 100 |
import random
|
| 101 |
token_actual, hf_user_actual = random.choice(cuentas[1:])
|
| 102 |
-
|
|
|
|
| 103 |
headers = {"Authorization": f"Bearer {token_actual}", "Content-Type": "application/json"}
|
| 104 |
|
| 105 |
with open("cliente_template.py", "r") as _f:
|
|
|
|
| 99 |
cuentas = [(t,u) for t,u in cuentas if t]
|
| 100 |
import random
|
| 101 |
token_actual, hf_user_actual = random.choice(cuentas[1:])
|
| 102 |
+
token_actual, hf_user_actual = random.choice(cuentas[1:])
|
| 103 |
+
print(f"🔑 Usando: {hf_user_actual}", flush=True)
|
| 104 |
headers = {"Authorization": f"Bearer {token_actual}", "Content-Type": "application/json"}
|
| 105 |
|
| 106 |
with open("cliente_template.py", "r") as _f:
|