Spaces:
Running
Running
Seed 42
Browse files- autenticacion.py +1 -1
- funciones.py +4 -3
autenticacion.py
CHANGED
@@ -18,7 +18,7 @@ def defineAmbiente():
|
|
18 |
print("Entorno Local...")
|
19 |
import bridges
|
20 |
llave = bridges.llave #Acceso a HF
|
21 |
-
servidor = "
|
22 |
hora_renovacion = 17
|
23 |
else:
|
24 |
print("Entorno remoto listo...")
|
|
|
18 |
print("Entorno Local...")
|
19 |
import bridges
|
20 |
llave = bridges.llave #Acceso a HF
|
21 |
+
servidor = "sosa" #o "sosa" Sosa Jhons, depende de donde deduciras el tiempo de gpu cuando pruebas en local.
|
22 |
hora_renovacion = 17
|
23 |
else:
|
24 |
print("Entorno remoto listo...")
|
funciones.py
CHANGED
@@ -36,8 +36,8 @@ def genera_platillo_gpu(platillo):
|
|
36 |
#**kwargs,
|
37 |
prompt=prompt,
|
38 |
#negative_prompt="live animals",
|
39 |
-
|
40 |
-
|
41 |
width=786,
|
42 |
height=568,
|
43 |
# guidance_scale=3.5,
|
@@ -99,7 +99,8 @@ def genera_platillo_inference(platillo):
|
|
99 |
#negative_prompt="live animals",
|
100 |
width=784, #786
|
101 |
height=560, #568
|
102 |
-
num_inference_steps=12
|
|
|
103 |
)
|
104 |
|
105 |
#Detenido momentaneamente por cambio a firebase.
|
|
|
36 |
#**kwargs,
|
37 |
prompt=prompt,
|
38 |
#negative_prompt="live animals",
|
39 |
+
seed=43,
|
40 |
+
randomize_seed=False,
|
41 |
width=786,
|
42 |
height=568,
|
43 |
# guidance_scale=3.5,
|
|
|
99 |
#negative_prompt="live animals",
|
100 |
width=784, #786
|
101 |
height=560, #568
|
102 |
+
num_inference_steps=12,
|
103 |
+
seed=42
|
104 |
)
|
105 |
|
106 |
#Detenido momentaneamente por cambio a firebase.
|