Spaces:
Running
Running
fabiogra
commited on
Commit
·
99a6014
1
Parent(s):
8422348
feat: improve separate cols style
Browse files- app/pages/Separate.py +3 -3
app/pages/Separate.py
CHANGED
@@ -102,7 +102,7 @@ def body():
|
|
102 |
unsafe_allow_html=True,
|
103 |
)
|
104 |
|
105 |
-
cols = st.columns([1,
|
106 |
with cols[1]:
|
107 |
with st.columns([1, 8, 1])[1]:
|
108 |
option = option_menu(
|
@@ -172,7 +172,7 @@ def body():
|
|
172 |
else:
|
173 |
name_song = None
|
174 |
|
175 |
-
with cols[
|
176 |
separation_mode = st.selectbox(
|
177 |
"Choose the separation mode",
|
178 |
[
|
@@ -194,7 +194,7 @@ def body():
|
|
194 |
song = load_audio_segment(in_path / filename, filename.split(".")[-1])
|
195 |
n_secs = round(len(song) / 1000)
|
196 |
if os.environ.get("ENV_LIMITATION", False):
|
197 |
-
with cols[
|
198 |
start_time = st.number_input(
|
199 |
"Choose the start time",
|
200 |
min_value=0,
|
|
|
102 |
unsafe_allow_html=True,
|
103 |
)
|
104 |
|
105 |
+
cols = st.columns([1, 6, 1, 4, 1])
|
106 |
with cols[1]:
|
107 |
with st.columns([1, 8, 1])[1]:
|
108 |
option = option_menu(
|
|
|
172 |
else:
|
173 |
name_song = None
|
174 |
|
175 |
+
with cols[3]:
|
176 |
separation_mode = st.selectbox(
|
177 |
"Choose the separation mode",
|
178 |
[
|
|
|
194 |
song = load_audio_segment(in_path / filename, filename.split(".")[-1])
|
195 |
n_secs = round(len(song) / 1000)
|
196 |
if os.environ.get("ENV_LIMITATION", False):
|
197 |
+
with cols[3]:
|
198 |
start_time = st.number_input(
|
199 |
"Choose the start time",
|
200 |
min_value=0,
|