Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
-
from utils import
|
4 |
|
5 |
##pagina principla
|
6 |
st.title('Generador de mariposas')
|
@@ -14,7 +14,7 @@ st.sidebar.caption('Demo creado en vivo.')
|
|
14 |
|
15 |
## cargamos el model
|
16 |
repo_id = 'ceyda/butterfly_cropped_uniq1K_512'
|
17 |
-
modelo_gan =
|
18 |
|
19 |
|
20 |
## genera 4 mariposas
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
+
from utils import carga_modelo, genera
|
4 |
|
5 |
##pagina principla
|
6 |
st.title('Generador de mariposas')
|
|
|
14 |
|
15 |
## cargamos el model
|
16 |
repo_id = 'ceyda/butterfly_cropped_uniq1K_512'
|
17 |
+
modelo_gan = carga_modelo(repo_id)
|
18 |
|
19 |
|
20 |
## genera 4 mariposas
|