Spaces:
Runtime error
Runtime error
Fix Live Animals
Browse files- funciones.py +2 -1
- globales.py +2 -2
funciones.py
CHANGED
|
@@ -28,7 +28,7 @@ def genera_platillo_gpu(platillo):
|
|
| 28 |
|
| 29 |
result = client.predict(**kwargs,
|
| 30 |
prompt=prompt,
|
| 31 |
-
#
|
| 32 |
# seed=42,
|
| 33 |
# randomize_seed=True,
|
| 34 |
width=786,
|
|
@@ -82,6 +82,7 @@ def genera_platillo_inference(platillo):
|
|
| 82 |
try:
|
| 83 |
image = client.text_to_image(
|
| 84 |
prompt,
|
|
|
|
| 85 |
model=modelo,
|
| 86 |
width=786,
|
| 87 |
height=568,
|
|
|
|
| 28 |
|
| 29 |
result = client.predict(**kwargs,
|
| 30 |
prompt=prompt,
|
| 31 |
+
#negative_prompt="live animals",
|
| 32 |
# seed=42,
|
| 33 |
# randomize_seed=True,
|
| 34 |
width=786,
|
|
|
|
| 82 |
try:
|
| 83 |
image = client.text_to_image(
|
| 84 |
prompt,
|
| 85 |
+
#negative_prompt="live animals",
|
| 86 |
model=modelo,
|
| 87 |
width=786,
|
| 88 |
height=568,
|
globales.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
import autenticacion
|
| 2 |
-
version = "0.
|
| 3 |
|
| 4 |
#previo = "Una fotografía de un plato blanco con "
|
| 5 |
-
previo = "A photograph of a white plate with "
|
| 6 |
llave, servidor = autenticacion.defineAmbiente()
|
| 7 |
|
| 8 |
|
|
|
|
| 1 |
import autenticacion
|
| 2 |
+
version = "0.1.1"
|
| 3 |
|
| 4 |
#previo = "Una fotografía de un plato blanco con "
|
| 5 |
+
previo = "A photograph of a white plate with a visually appealing culinary dish of "
|
| 6 |
llave, servidor = autenticacion.defineAmbiente()
|
| 7 |
|
| 8 |
|