maurol commited on
Commit
f712385
·
1 Parent(s): 6c8a4c2

fix broken dependency

Browse files
Files changed (5) hide show
  1. .gitattributes +0 -0
  2. .gitignore +0 -0
  3. README.md +0 -0
  4. app.py +2 -5
  5. requirements.txt +2 -1
.gitattributes CHANGED
File without changes
.gitignore CHANGED
File without changes
README.md CHANGED
File without changes
app.py CHANGED
@@ -6,7 +6,7 @@ config = {"GENIUS_ACCESS_TOKEN": st.secrets["GENIUS_ACCESS_TOKEN"]}
6
 
7
 
8
  info = """
9
- The "Lyrics Translator" downloads lyrics from Genius and uses 🤗hugging face to translate the lyrics into a language of your choice!
10
  """
11
 
12
  title = "🎵 Lyrics Translator"
@@ -16,10 +16,10 @@ language_mapper = {
16
  "Swedish": "sv",
17
  "Italian": "it",
18
  "French": "fr",
19
- "Dutch": "nl",
20
  }
21
 
22
  st.title(title)
 
23
 
24
 
25
  with st.sidebar:
@@ -31,9 +31,6 @@ with st.sidebar:
31
 
32
  is_button_results = st.button("Translate!")
33
 
34
- with st.sidebar:
35
- st.info(info, icon="ℹ️")
36
-
37
 
38
  language = language_mapper.get(language_original, None)
39
 
 
6
 
7
 
8
  info = """
9
+ The "Lyrics Translator" downloads lyrics from Genius and uses 🤗 Hugging Face to translate the lyrics into a language of your choice!
10
  """
11
 
12
  title = "🎵 Lyrics Translator"
 
16
  "Swedish": "sv",
17
  "Italian": "it",
18
  "French": "fr",
 
19
  }
20
 
21
  st.title(title)
22
+ st.info(info, icon="ℹ️")
23
 
24
 
25
  with st.sidebar:
 
31
 
32
  is_button_results = st.button("Translate!")
33
 
 
 
 
34
 
35
  language = language_mapper.get(language_original, None)
36
 
requirements.txt CHANGED
@@ -1,2 +1,3 @@
1
  streamlit
2
- lyrics-translator
 
 
1
  streamlit
2
+ lyrics-translator
3
+ altair<5