diff --git a/Project_2/style.css b/Project_2/style.css new file mode 100644 index 00000000..9d2657f6 --- /dev/null +++ b/Project_2/style.css @@ -0,0 +1,6 @@ +*{ + primaryColor: #F63366; + secondaryColor: #FFC107; + textColor: #18191f; + font: "monospace"; +} diff --git a/Project_2/web.py b/Project_2/web.py index 244b5b7a..4180cc5e 100644 --- a/Project_2/web.py +++ b/Project_2/web.py @@ -2,6 +2,9 @@ from SpeechTranslation import translate from speech import Transcribe +with open("style.css") as f: + st.markdown(''.format(f.read()), unsafe_allow_html=True) + option = st.selectbox( 'What would you like to translate?', ('A text', 'An audio file'))