Prathm commited on
Commit
64592be
·
1 Parent(s): e9e02b5

Fixed seeds

Browse files
Files changed (1) hide show
  1. pages/Style One.py +3 -1
pages/Style One.py CHANGED
@@ -212,7 +212,9 @@ st.sidebar.title('Customization Options')
212
  # Create UI widgets
213
  text = st.sidebar.text_input("Style Specs", 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.")
214
  if 'seed' not in st.session_state:
215
- st.session_state['seed'] = random.randint(1, 1000)
 
 
216
 
217
  with st.sidebar.expander("Advanced"):
218
  seed = st.number_input("ID", value= st.session_state['seed'], help = "Capture this unique id to reproduce the exact same result later.")
 
212
  # Create UI widgets
213
  text = st.sidebar.text_input("Style Specs", 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.")
214
  if 'seed' not in st.session_state:
215
+ #st.session_state['seed'] = random.randint(1, 1000)
216
+ st.session_state['seed'] = 3
217
+
218
 
219
  with st.sidebar.expander("Advanced"):
220
  seed = st.number_input("ID", value= st.session_state['seed'], help = "Capture this unique id to reproduce the exact same result later.")