Spaces:
Sleeping
Sleeping
Commit
·
393fc7a
1
Parent(s):
6a5035e
replaced recording with uploading
Browse files
app.py
CHANGED
@@ -321,8 +321,10 @@ def process_file(ser_model,tokenizer,gpt_model,gpt_tokenizer):
|
|
321 |
# </style>
|
322 |
# """, unsafe_allow_html=True)
|
323 |
if st.sidebar.button("Open External Audio Recorder"):
|
|
|
|
|
324 |
# Redirect the user to the external website
|
325 |
-
st.markdown("<a href='https://voice-recorder-online.com/' target='_blank'>Redirecting to the external audio recorder</a>.", unsafe_allow_html=True)
|
326 |
|
327 |
# if st.sidebar.button("Record a 4 sec audio!", key="record_button", help="Click to start recording", on_click=set_stage, args=(1,)):
|
328 |
# # Your button click action here
|
|
|
321 |
# </style>
|
322 |
# """, unsafe_allow_html=True)
|
323 |
if st.sidebar.button("Open External Audio Recorder"):
|
324 |
+
url = 'https://voice-recorder-online.com/'
|
325 |
+
webbrowser.open_new_tab(url)
|
326 |
# Redirect the user to the external website
|
327 |
+
#st.markdown("<a href='https://voice-recorder-online.com/' target='_blank'>Redirecting to the external audio recorder</a>.", unsafe_allow_html=True)
|
328 |
|
329 |
# if st.sidebar.button("Record a 4 sec audio!", key="record_button", help="Click to start recording", on_click=set_stage, args=(1,)):
|
330 |
# # Your button click action here
|