Spaces:
Running
Running
Define env var servidor
Browse files- autenticacion.py +1 -1
- 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,
|
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"
|