Redimensionamiento
Browse files- funciones.py +3 -1
funciones.py
CHANGED
@@ -69,7 +69,9 @@ def genera_platillo_inference(platillo):
|
|
69 |
try:
|
70 |
image = client.text_to_image(
|
71 |
prompt,
|
72 |
-
model=modelo
|
|
|
|
|
73 |
)
|
74 |
|
75 |
herramientas.restaSegundosInference(globales.inference_cost)
|
|
|
69 |
try:
|
70 |
image = client.text_to_image(
|
71 |
prompt,
|
72 |
+
model=modelo,
|
73 |
+
width=786,
|
74 |
+
height=568
|
75 |
)
|
76 |
|
77 |
herramientas.restaSegundosInference(globales.inference_cost)
|