Moibe commited on
Commit
b6ca9eb
·
1 Parent(s): 111f19a

Display inference seconds

Browse files
Files changed (1) hide show
  1. funciones.py +1 -0
funciones.py CHANGED
@@ -53,6 +53,7 @@ def genera_platillo_inference(platillo):
53
 
54
  #Elegir proveedor de inferencia
55
  creditos_restantes_inference = conexion_firebase.obtenDato('nowme', 'huggingface', 'hfInference')
 
56
  if creditos_restantes_inference > 0:
57
  provedor_seleccionado = globales.proveedor
58
  else:
 
53
 
54
  #Elegir proveedor de inferencia
55
  creditos_restantes_inference = conexion_firebase.obtenDato('nowme', 'huggingface', 'hfInference')
56
+ print("Los créditos restantes de hf-inference que tienes son: ", creditos_restantes_inference)
57
  if creditos_restantes_inference > 0:
58
  provedor_seleccionado = globales.proveedor
59
  else: