Spaces:
Sleeping
Sleeping
Commit
·
8f2e109
1
Parent(s):
e872dd4
Hypter link button added
Browse files
app.py
CHANGED
@@ -63,6 +63,15 @@ bert_model_name = "bert-base-uncased"
|
|
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)
|
@@ -320,13 +329,7 @@ def process_file(ser_model,tokenizer,gpt_model,gpt_tokenizer):
|
|
320 |
# background-color: darkred; /* Change background color on hover */
|
321 |
# }
|
322 |
# </style>
|
323 |
-
# """, unsafe_allow_html=True)
|
324 |
-
if st.sidebar.button("Open External Audio Recorder"):
|
325 |
-
url = 'https://voice-recorder-online.com/'
|
326 |
-
# webbrowser.open_new_tab(url)
|
327 |
-
st.markdown(f'''
|
328 |
-
<a href={url}><button style="background-color:GreenYellow;">Stackoverflow</button></a>
|
329 |
-
''', unsafe_allow_html=True)
|
330 |
# Redirect the user to the external website
|
331 |
#st.markdown("<a href='https://voice-recorder-online.com/' target='_blank'>Redirecting to the external audio recorder</a>.", unsafe_allow_html=True)
|
332 |
|
|
|
63 |
def config():
|
64 |
# Loading Image using PIL
|
65 |
im = Image.open('./icon.png')
|
66 |
+
|
67 |
+
if st.sidebar.button("Open External Audio Recorder"):
|
68 |
+
# url = 'https://voice-recorder-online.com/'
|
69 |
+
# # webbrowser.open_new_tab(url)
|
70 |
+
# st.markdown(f'''
|
71 |
+
# <a href={url}><button style="background-color:GreenYellow;">Stackoverflow</button></a>
|
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)
|
|
|
329 |
# background-color: darkred; /* Change background color on hover */
|
330 |
# }
|
331 |
# </style>
|
332 |
+
# """, unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
333 |
# Redirect the user to the external website
|
334 |
#st.markdown("<a href='https://voice-recorder-online.com/' target='_blank'>Redirecting to the external audio recorder</a>.", unsafe_allow_html=True)
|
335 |
|