Spaces:
Sleeping
Sleeping
Commit
·
c34b46a
1
Parent(s):
8f2e109
Hypter link button added
Browse files
app.py
CHANGED
@@ -63,8 +63,11 @@ bert_model_name = "bert-base-uncased"
|
|
63 |
def config():
|
64 |
# Loading Image using PIL
|
65 |
im = Image.open('./icon.png')
|
|
|
|
|
|
|
66 |
|
67 |
-
if st.sidebar.
|
68 |
# url = 'https://voice-recorder-online.com/'
|
69 |
# # webbrowser.open_new_tab(url)
|
70 |
# st.markdown(f'''
|
@@ -72,10 +75,7 @@ def config():
|
|
72 |
# ''', unsafe_allow_html=True)
|
73 |
st.markdown("<a href='https://voice-recorder-online.com/' target='_blank'>Redirecting to the external audio recorder</a>.", unsafe_allow_html=True)
|
74 |
|
75 |
-
|
76 |
-
# Set the page configuration with the title and icon
|
77 |
-
st.set_page_config(page_title="Virtual Therapist", page_icon=im)
|
78 |
-
|
79 |
# Add custom CSS styles
|
80 |
st.markdown("""
|
81 |
<style>
|
|
|
63 |
def config():
|
64 |
# Loading Image using PIL
|
65 |
im = Image.open('./icon.png')
|
66 |
+
|
67 |
+
# Set the page configuration with the title and icon
|
68 |
+
st.set_page_config(page_title="Virtual Therapist", page_icon=im)
|
69 |
|
70 |
+
if st.sidebar.markdown("**Open External Audio Recorder**"):
|
71 |
# url = 'https://voice-recorder-online.com/'
|
72 |
# # webbrowser.open_new_tab(url)
|
73 |
# st.markdown(f'''
|
|
|
75 |
# ''', unsafe_allow_html=True)
|
76 |
st.markdown("<a href='https://voice-recorder-online.com/' target='_blank'>Redirecting to the external audio recorder</a>.", unsafe_allow_html=True)
|
77 |
|
78 |
+
|
|
|
|
|
|
|
79 |
# Add custom CSS styles
|
80 |
st.markdown("""
|
81 |
<style>
|