utils y app
Browse files
app.py
CHANGED
@@ -21,9 +21,9 @@ n_mariposas = 4
|
|
21 |
|
22 |
|
23 |
def corre():
|
24 |
-
with st.spinner('Generando, espero un poco...')
|
25 |
-
|
26 |
-
|
27 |
|
28 |
if 'ims' not in st.session_state:
|
29 |
st.session_state['ims'] = None
|
|
|
21 |
|
22 |
|
23 |
def corre():
|
24 |
+
with st.spinner('Generando, espero un poco...'):
|
25 |
+
ims = genera(modelo_gan, n_mariposas)
|
26 |
+
st.session_state['ims']= ims
|
27 |
|
28 |
if 'ims' not in st.session_state:
|
29 |
st.session_state['ims'] = None
|