Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,7 @@ def show_prayer_and_music(prayer_selection, music_selection):
|
|
9 |
|
10 |
music_urls = {
|
11 |
"음악 1": "https://huggingface.co/datasets/englissi/bgm/resolve/main/We%20Wish%20You%20a%20Merry%20Christmas_%EC%9D%B4%EB%82%98%EC%9D%BC.wav",
|
12 |
-
"음악 2": "https://huggingface.co/datasets/englissi/bgm/resolve/main/%EC%98%A4%20%EA%B1%B0%EB%A3%A9%ED%95%9C%20%EB%B0%A4(Oh%20Holy%20Night)_%EC%9D%B4%EC%9E%AC%EB%AC%B8_%EA%B8%B8%EB%B3%91%EB%AF%BC(%EB%B2%A0%EC%9D%B4%EC%8A%A4%EB%B0%94%EB%A6%AC%ED%86%A4).wav"
|
13 |
-
"음악 3": "https://huggingface.co/datasets/englissi/bgm/resolve/main/14%20%EC%98%81%EA%B4%91%EC%9D%98%20%EC%A3%BC%EB%8B%98.mp3"
|
14 |
}
|
15 |
|
16 |
prayer_text = prayers.get(prayer_selection, "선택된 기도가 없습니다.")
|
@@ -31,7 +30,7 @@ def show_prayer_and_music(prayer_selection, music_selection):
|
|
31 |
return prayer_text, html_code
|
32 |
|
33 |
prayer_options = ["보혈의 기도", "자녀를 위한 기도", "치유기도"]
|
34 |
-
music_options = ["음악 1", "음악 2"
|
35 |
|
36 |
prayer_dropdown = gr.Dropdown(choices=prayer_options, label="기도문 선택")
|
37 |
music_dropdown = gr.Dropdown(choices=music_options, label="배경음악 선택")
|
|
|
9 |
|
10 |
music_urls = {
|
11 |
"음악 1": "https://huggingface.co/datasets/englissi/bgm/resolve/main/We%20Wish%20You%20a%20Merry%20Christmas_%EC%9D%B4%EB%82%98%EC%9D%BC.wav",
|
12 |
+
"음악 2": "https://huggingface.co/datasets/englissi/bgm/resolve/main/%EC%98%A4%20%EA%B1%B0%EB%A3%A9%ED%95%9C%20%EB%B0%A4(Oh%20Holy%20Night)_%EC%9D%B4%EC%9E%AC%EB%AC%B8_%EA%B8%B8%EB%B3%91%EB%AF%BC(%EB%B2%A0%EC%9D%B4%EC%8A%A4%EB%B0%94%EB%A6%AC%ED%86%A4).wav"
|
|
|
13 |
}
|
14 |
|
15 |
prayer_text = prayers.get(prayer_selection, "선택된 기도가 없습니다.")
|
|
|
30 |
return prayer_text, html_code
|
31 |
|
32 |
prayer_options = ["보혈의 기도", "자녀를 위한 기도", "치유기도"]
|
33 |
+
music_options = ["음악 1", "음악 2"]
|
34 |
|
35 |
prayer_dropdown = gr.Dropdown(choices=prayer_options, label="기도문 선택")
|
36 |
music_dropdown = gr.Dropdown(choices=music_options, label="배경음악 선택")
|