Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ if st.button("Generar Imagen"):
|
|
16 |
if prompt:
|
17 |
try:
|
18 |
# Generar la imagen usando el prompt
|
19 |
-
resp = client.create_generation("
|
20 |
image = Image.open(BytesIO(resp))
|
21 |
|
22 |
# Mostrar la imagen en la aplicaci贸n
|
|
|
16 |
if prompt:
|
17 |
try:
|
18 |
# Generar la imagen usando el prompt
|
19 |
+
resp = client.create_generation("prodia", prompt)
|
20 |
image = Image.open(BytesIO(resp))
|
21 |
|
22 |
# Mostrar la imagen en la aplicaci贸n
|