Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,6 @@ def main():
|
|
85 |
processed_sheet = process_chord_sheet(chord_sheet)
|
86 |
#st.markdown(processed_sheet, unsafe_allow_html=True)
|
87 |
table_md = f"""
|
88 |
-
| --------- | ------- |
|
89 |
| [📚Wikipedia]({create_search_url_wikipedia(song_info)}) | [🎥YouTube]({create_search_url_youtube(song_info)}) |
|
90 |
| [🎸Chords]({create_search_url_chords(song_info)}) | [🎶Lyrics]({create_search_url_lyrics(song_info)}) |
|
91 |
"""
|
@@ -93,12 +92,11 @@ def main():
|
|
93 |
st.header("🎼 Available Songs")
|
94 |
for file in all_files:
|
95 |
song_info = os.path.splitext(file)[0].replace("_", " ")
|
96 |
-
icol1, icol2 = st.columns([1,
|
97 |
with icol1:
|
98 |
st.markdown("**" + song_info + "**")
|
99 |
with icol2:
|
100 |
table_md = f"""
|
101 |
-
| --------- | ------- |
|
102 |
| [📚Wikipedia]({create_search_url_wikipedia(song_info)}) | [🎥YouTube]({create_search_url_youtube(song_info)}) |
|
103 |
| [🎸Chords]({create_search_url_chords(song_info)}) | [🎶Lyrics]({create_search_url_lyrics(song_info)}) |
|
104 |
"""
|
|
|
85 |
processed_sheet = process_chord_sheet(chord_sheet)
|
86 |
#st.markdown(processed_sheet, unsafe_allow_html=True)
|
87 |
table_md = f"""
|
|
|
88 |
| [📚Wikipedia]({create_search_url_wikipedia(song_info)}) | [🎥YouTube]({create_search_url_youtube(song_info)}) |
|
89 |
| [🎸Chords]({create_search_url_chords(song_info)}) | [🎶Lyrics]({create_search_url_lyrics(song_info)}) |
|
90 |
"""
|
|
|
92 |
st.header("🎼 Available Songs")
|
93 |
for file in all_files:
|
94 |
song_info = os.path.splitext(file)[0].replace("_", " ")
|
95 |
+
icol1, icol2 = st.columns([1, 2])
|
96 |
with icol1:
|
97 |
st.markdown("**" + song_info + "**")
|
98 |
with icol2:
|
99 |
table_md = f"""
|
|
|
100 |
| [📚Wikipedia]({create_search_url_wikipedia(song_info)}) | [🎥YouTube]({create_search_url_youtube(song_info)}) |
|
101 |
| [🎸Chords]({create_search_url_chords(song_info)}) | [🎶Lyrics]({create_search_url_lyrics(song_info)}) |
|
102 |
"""
|