Spaces:
Runtime error
Runtime error
Aesthetic changes
Browse files- pages/Fusion Fashion.py +3 -2
- pages/Style One.py +2 -1
pages/Fusion Fashion.py
CHANGED
@@ -180,7 +180,8 @@ def generate_image(content, style, truncation, c0, c1, c2, c3, c4, c5, c6, start
|
|
180 |
|
181 |
|
182 |
# Streamlit app title
|
183 |
-
st.
|
|
|
184 |
|
185 |
@st.cache_resource
|
186 |
def load_model():
|
@@ -228,7 +229,7 @@ st.sidebar.title('Customization Options')
|
|
228 |
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.")
|
229 |
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.")
|
230 |
if 'seed1' not in st.session_state and 'seed2' not in st.session_state:
|
231 |
-
st.session_state['seed1'] =
|
232 |
st.session_state['seed2'] = random.randint(1, 1000)
|
233 |
|
234 |
with st.sidebar.expander("Advanced"):
|
|
|
180 |
|
181 |
|
182 |
# Streamlit app title
|
183 |
+
st.image('./pics/logo.jpeg', width = 250)
|
184 |
+
'''## Fusion Fashion'''
|
185 |
|
186 |
@st.cache_resource
|
187 |
def load_model():
|
|
|
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['seed2'] = random.randint(1, 1000)
|
234 |
|
235 |
with st.sidebar.expander("Advanced"):
|
pages/Style One.py
CHANGED
@@ -164,7 +164,8 @@ def generate_image(truncation, c0, c1, c2, c3, c4, c5, c6, start_layer, end_laye
|
|
164 |
|
165 |
|
166 |
# Streamlit app title
|
167 |
-
st.
|
|
|
168 |
|
169 |
@st.cache_resource
|
170 |
def load_model():
|
|
|
164 |
|
165 |
|
166 |
# Streamlit app title
|
167 |
+
st.image('./pics/logo.jpeg', width = 250)
|
168 |
+
'''## Style One'''
|
169 |
|
170 |
@st.cache_resource
|
171 |
def load_model():
|