Spaces:
Running
Running
Requirements y logo
Browse files- __pycache__/utils.cpython-312.pyc +0 -0
- app.py +4 -4
- assets/logo.png +0 -0
- requirements.txt +5 -0
__pycache__/utils.cpython-312.pyc
ADDED
Binary file (1.43 kB). View file
|
|
app.py
CHANGED
@@ -21,13 +21,13 @@ n_mariposas = 4
|
|
21 |
def corre():
|
22 |
with st.spinner("Generando, espera un poco..."):
|
23 |
ims = genera(modelo_gan, n_mariposas)
|
24 |
-
st.session_state
|
25 |
|
26 |
-
if
|
27 |
-
st.session_state
|
28 |
corre()
|
29 |
|
30 |
-
ims = st.session_state
|
31 |
|
32 |
corre_buton = st.button(
|
33 |
"Genera mariposas porfa",
|
|
|
21 |
def corre():
|
22 |
with st.spinner("Generando, espera un poco..."):
|
23 |
ims = genera(modelo_gan, n_mariposas)
|
24 |
+
st.session_state["ims"] = ims
|
25 |
|
26 |
+
if "ims" not in st.session_state:
|
27 |
+
st.session_state["ims"] == None
|
28 |
corre()
|
29 |
|
30 |
+
ims = st.session_state["ims"]
|
31 |
|
32 |
corre_buton = st.button(
|
33 |
"Genera mariposas porfa",
|
assets/logo.png
ADDED
![]() |
requirements.txt
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
git+https://github.com/huggingface/community-events.git@3fea10c5d5a50c69f509e34cd580fe9139905d04#egg=huggan
|
2 |
+
transformers
|
3 |
+
faiss-cpu
|
4 |
+
paddlehub
|
5 |
+
paddlepaddle
|