Tu Nombre commited on
Commit
e470947
·
1 Parent(s): 4cc4be0

rotar cuentas 2 y 3

Browse files
Files changed (1) hide show
  1. main.py +3 -2
main.py CHANGED
@@ -98,8 +98,9 @@ async def crear_space(nicho: str, email: str) -> str:
98
  ]
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
 
 
98
  ]
99
  cuentas = [(t,u) for t,u in cuentas if t]
100
  import random
101
+ token_actual, hf_user_actual = random.choice(cuentas[:2])
102
+
103
+
104
  print(f"🔑 Usando: {hf_user_actual}", flush=True)
105
  headers = {"Authorization": f"Bearer {token_actual}", "Content-Type": "application/json"}
106