Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,6 @@ create = st.button("Create The Model")
|
|
23 |
|
24 |
if create:
|
25 |
st.session_state.t2m_mod = create_model(loc=the_type)
|
26 |
-
st.session_state.generator = torch.Generator("cpu").manual_seed(int(bu_1))
|
27 |
|
28 |
prom = st.text_input("# Prompt",'')
|
29 |
|
@@ -41,6 +40,8 @@ with c4:
|
|
41 |
with c5:
|
42 |
sl_2 = st.slider("hight",128,1024,512,8)
|
43 |
|
|
|
|
|
44 |
create = st.button("Imagine")
|
45 |
|
46 |
if create:
|
|
|
23 |
|
24 |
if create:
|
25 |
st.session_state.t2m_mod = create_model(loc=the_type)
|
|
|
26 |
|
27 |
prom = st.text_input("# Prompt",'')
|
28 |
|
|
|
40 |
with c5:
|
41 |
sl_2 = st.slider("hight",128,1024,512,8)
|
42 |
|
43 |
+
st.session_state.generator = torch.Generator("cpu").manual_seed(int(bu_1))
|
44 |
+
|
45 |
create = st.button("Imagine")
|
46 |
|
47 |
if create:
|