Spaces:
Runtime error
Runtime error
Fixed seeds
Browse files- pages/Fusion Fashion.py +4 -2
pages/Fusion Fashion.py
CHANGED
@@ -229,8 +229,10 @@ st.sidebar.title('Customization Options')
|
|
229 |
text1 = st.sidebar.text_input("Style Specs 1", help = "Provide a clear and concise description of the design you wish to generate. This helps the app understand your preferences and create a customized design that matches your vision.")
|
230 |
text2 = st.sidebar.text_input("Style Specs 2", help = "Provide a clear and concise description of the design you wish to generate. This helps the app understand your preferences and create a customized design that matches your vision.")
|
231 |
if 'seed1' not in st.session_state and 'seed2' not in st.session_state:
|
232 |
-
st.session_state['seed1'] = random.randint(1, 1000)
|
233 |
-
st.session_state['
|
|
|
|
|
234 |
|
235 |
with st.sidebar.expander("Advanced"):
|
236 |
seed1 = st.number_input("ID 1", value= st.session_state['seed1'], help = "Capture this unique id to reproduce the exact same result later.")
|
|
|
229 |
text1 = st.sidebar.text_input("Style Specs 1", help = "Provide a clear and concise description of the design you wish to generate. This helps the app understand your preferences and create a customized design that matches your vision.")
|
230 |
text2 = st.sidebar.text_input("Style Specs 2", help = "Provide a clear and concise description of the design you wish to generate. This helps the app understand your preferences and create a customized design that matches your vision.")
|
231 |
if 'seed1' not in st.session_state and 'seed2' not in st.session_state:
|
232 |
+
#st.session_state['seed1'] = random.randint(1, 1000)
|
233 |
+
st.session_state['seed1'] = 3
|
234 |
+
#st.session_state['seed2'] = random.randint(1, 1000)
|
235 |
+
st.session_state['seed2'] = 6
|
236 |
|
237 |
with st.sidebar.expander("Advanced"):
|
238 |
seed1 = st.number_input("ID 1", value= st.session_state['seed1'], help = "Capture this unique id to reproduce the exact same result later.")
|