Spaces:
Runtime error
Runtime error
app.py corrected
Browse files
app.py
CHANGED
@@ -32,13 +32,12 @@ ims = st.session_state["ims"]
|
|
32 |
|
33 |
run_model_button = st.button(
|
34 |
"Genera Mariposa",
|
35 |
-
on_click = run_model()
|
36 |
-
help="Estamos generando la Mariposa
|
37 |
-
|
38 |
)
|
39 |
|
40 |
if ims is not None:
|
41 |
-
|
42 |
for jo, im in enumerate(ims):
|
43 |
i = j% n_mariposas
|
44 |
cols[i].image(im, use_colum_width=True)
|
|
|
32 |
|
33 |
run_model_button = st.button(
|
34 |
"Genera Mariposa",
|
35 |
+
on_click = run_model(),
|
36 |
+
help="Estamos generando la Mariposa"
|
|
|
37 |
)
|
38 |
|
39 |
if ims is not None:
|
40 |
+
cols = st.columns(n_mariposas)
|
41 |
for jo, im in enumerate(ims):
|
42 |
i = j% n_mariposas
|
43 |
cols[i].image(im, use_colum_width=True)
|