Spaces:
Running
Running
fabiogra
commited on
Commit
·
59e9730
1
Parent(s):
dc66c98
fix: typo and small changes in text
Browse files- app/pages/Karaoke.py +3 -3
app/pages/Karaoke.py
CHANGED
@@ -33,7 +33,7 @@ def show_karaoke(pathname):
|
|
33 |
cols = st.columns([1, 1, 3, 1])
|
34 |
with cols[1]:
|
35 |
sess.delay = st.slider(
|
36 |
-
label="Adjust video start delay in seconds (higher values anticipate lyrics)",
|
37 |
key="delay_slider",
|
38 |
value=2,
|
39 |
min_value=0,
|
@@ -60,7 +60,7 @@ def show_karaoke(pathname):
|
|
60 |
key="karaoke_player",
|
61 |
)
|
62 |
st.markdown(
|
63 |
-
"<center>⬆️ Click on the play button to start karaoke<center>",
|
64 |
unsafe_allow_html=True,
|
65 |
)
|
66 |
with st.columns([1, 4, 1])[1]:
|
@@ -113,8 +113,8 @@ def body():
|
|
113 |
key="yt_input_search",
|
114 |
on_change=reset_karaoke,
|
115 |
)
|
|
|
116 |
if not sess.get("karaoke", False):
|
117 |
-
radio_selection = st.empty()
|
118 |
if input_search != "" and input_search != sess.get("input_search", ""):
|
119 |
sess.input_search = input_search
|
120 |
with st.spinner("Searching on YouTube..."):
|
|
|
33 |
cols = st.columns([1, 1, 3, 1])
|
34 |
with cols[1]:
|
35 |
sess.delay = st.slider(
|
36 |
+
label="Adjust video start delay in seconds (higher values anticipate lyrics, need to restart the player)",
|
37 |
key="delay_slider",
|
38 |
value=2,
|
39 |
min_value=0,
|
|
|
60 |
key="karaoke_player",
|
61 |
)
|
62 |
st.markdown(
|
63 |
+
"""<center>⬆️ Click on the play button to start karaoke<br>You will see the video with lyrics below ⬇️<center>""",
|
64 |
unsafe_allow_html=True,
|
65 |
)
|
66 |
with st.columns([1, 4, 1])[1]:
|
|
|
113 |
key="yt_input_search",
|
114 |
on_change=reset_karaoke,
|
115 |
)
|
116 |
+
radio_selection = st.empty()
|
117 |
if not sess.get("karaoke", False):
|
|
|
118 |
if input_search != "" and input_search != sess.get("input_search", ""):
|
119 |
sess.input_search = input_search
|
120 |
with st.spinner("Searching on YouTube..."):
|