Spaces:
Running
Running
Commit
·
7af950f
1
Parent(s):
446471a
update
Browse files
app.py
CHANGED
|
@@ -839,7 +839,7 @@ def btn_load_prompt(selected_yaml_file, dir_prompt):
|
|
| 839 |
}
|
| 840 |
|
| 841 |
def refresh():
|
| 842 |
-
st.
|
| 843 |
|
| 844 |
def upload_local_prompt_to_server(dir_prompt):
|
| 845 |
uploaded_file = st.file_uploader("Upload a custom prompt file", type=['yaml'])
|
|
@@ -1435,6 +1435,8 @@ def content_tab_settings():
|
|
| 1435 |
st.session_state['input_list_small'].append(file_path_small)
|
| 1436 |
print(uploaded_file.name)
|
| 1437 |
|
|
|
|
|
|
|
| 1438 |
with col_local_2:
|
| 1439 |
if st.session_state['input_list_small']:
|
| 1440 |
st.subheader('Image Gallery')
|
|
|
|
| 839 |
}
|
| 840 |
|
| 841 |
def refresh():
|
| 842 |
+
st.write('')
|
| 843 |
|
| 844 |
def upload_local_prompt_to_server(dir_prompt):
|
| 845 |
uploaded_file = st.file_uploader("Upload a custom prompt file", type=['yaml'])
|
|
|
|
| 1435 |
st.session_state['input_list_small'].append(file_path_small)
|
| 1436 |
print(uploaded_file.name)
|
| 1437 |
|
| 1438 |
+
st.rerun()
|
| 1439 |
+
|
| 1440 |
with col_local_2:
|
| 1441 |
if st.session_state['input_list_small']:
|
| 1442 |
st.subheader('Image Gallery')
|