Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,8 +73,10 @@ def display_chord_sheet_in_two_page_view(chord_sheet):
|
|
73 |
def main():
|
74 |
col1, col3 = st.columns([3, 5])
|
75 |
with col1:
|
76 |
-
st.markdown('''### 🎵🎥
|
77 |
-
|
|
|
|
|
78 |
with st.expander("Select Song:", expanded=True):
|
79 |
all_files = [f for f in glob.glob("*.txt") if ' by ' in f]
|
80 |
selected_file = st.selectbox("Choose: ", all_files, key='selected_file')
|
@@ -90,6 +92,8 @@ def main():
|
|
90 |
| [🎸Chords]({create_search_url_chords(song_info)}) | [🎶Lyrics]({create_search_url_lyrics(song_info)}) |
|
91 |
"""
|
92 |
st.markdown(table_md)
|
|
|
|
|
93 |
st.header("🎼 Available Songs")
|
94 |
for file in all_files:
|
95 |
song_info = os.path.splitext(file)[0].replace("_", " ")
|
@@ -102,6 +106,8 @@ def main():
|
|
102 |
| [🎸Chords]({create_search_url_chords(song_info)}) | [🎶Lyrics]({create_search_url_lyrics(song_info)}) |
|
103 |
"""
|
104 |
st.markdown(table_md)
|
|
|
|
|
105 |
with col3:
|
106 |
if 'selected_file' in st.session_state and st.session_state.selected_file:
|
107 |
chord_sheet = load_song_file(st.session_state.selected_file)
|
|
|
73 |
def main():
|
74 |
col1, col3 = st.columns([3, 5])
|
75 |
with col1:
|
76 |
+
st.markdown('''### 🎵🎥ChordPrompter🎸AI Prompt Authoring🎶Wiki, YouTube, Chords, Lyrics''')
|
77 |
+
|
78 |
+
|
79 |
+
|
80 |
with st.expander("Select Song:", expanded=True):
|
81 |
all_files = [f for f in glob.glob("*.txt") if ' by ' in f]
|
82 |
selected_file = st.selectbox("Choose: ", all_files, key='selected_file')
|
|
|
92 |
| [🎸Chords]({create_search_url_chords(song_info)}) | [🎶Lyrics]({create_search_url_lyrics(song_info)}) |
|
93 |
"""
|
94 |
st.markdown(table_md)
|
95 |
+
|
96 |
+
|
97 |
st.header("🎼 Available Songs")
|
98 |
for file in all_files:
|
99 |
song_info = os.path.splitext(file)[0].replace("_", " ")
|
|
|
106 |
| [🎸Chords]({create_search_url_chords(song_info)}) | [🎶Lyrics]({create_search_url_lyrics(song_info)}) |
|
107 |
"""
|
108 |
st.markdown(table_md)
|
109 |
+
|
110 |
+
|
111 |
with col3:
|
112 |
if 'selected_file' in st.session_state and st.session_state.selected_file:
|
113 |
chord_sheet = load_song_file(st.session_state.selected_file)
|