Moibe commited on
Commit
b8b4135
·
1 Parent(s): 3ff89da

Define env var servidor

Browse files
Files changed (2) hide show
  1. autenticacion.py +1 -1
  2. globales.py +1 -1
autenticacion.py CHANGED
@@ -18,7 +18,7 @@ def defineAmbiente():
18
  llave = os.getenv("llave")
19
  servidor = os.getenv("servidor")
20
  print("182, el servidor es: ", servidor)
21
- return llave
22
 
23
  def local_check():
24
 
 
18
  llave = os.getenv("llave")
19
  servidor = os.getenv("servidor")
20
  print("182, el servidor es: ", servidor)
21
+ return llave, servidor
22
 
23
  def local_check():
24
 
globales.py CHANGED
@@ -2,7 +2,7 @@ import autenticacion
2
  import herramientas
3
 
4
  previo = "Una fotografía de un plato blanco con "
5
- llave, ambiente = autenticacion.defineAmbiente()
6
 
7
  espacio = "black-forest-labs/FLUX.1-schnell"
8
  #espacio = "black-forest-labs/FLUX.1-dev"
 
2
  import herramientas
3
 
4
  previo = "Una fotografía de un plato blanco con "
5
+ llave, servidor = autenticacion.defineAmbiente()
6
 
7
  espacio = "black-forest-labs/FLUX.1-schnell"
8
  #espacio = "black-forest-labs/FLUX.1-dev"