sharmavaruncs commited on
Commit
2bf7ca7
·
1 Parent(s): f3d0762

Hypter link button added

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -86,8 +86,6 @@ def config():
86
  # st.markdown("<a href='https://voice-recorder-online.com/' target='_blank'>Redirecting to the external audio recorder</a>.", unsafe_allow_html=True)
87
 
88
  # st.sidebar.button('[**Open External Audio Recorder**]()')
89
- st.sidebar.button('Open link', on_click=open_page("https://voice-recorder-online.com/"))
90
-
91
 
92
  # Add custom CSS styles
93
  st.markdown("""
@@ -411,5 +409,8 @@ def process_file(ser_model,tokenizer,gpt_model,gpt_tokenizer):
411
 
412
  if __name__ == '__main__':
413
  config()
 
 
 
414
  ser_model,tokenizer,gpt_model,gpt_tokenizer = load_model()
415
  process_file(ser_model,tokenizer,gpt_model,gpt_tokenizer)
 
86
  # st.markdown("<a href='https://voice-recorder-online.com/' target='_blank'>Redirecting to the external audio recorder</a>.", unsafe_allow_html=True)
87
 
88
  # st.sidebar.button('[**Open External Audio Recorder**]()')
 
 
89
 
90
  # Add custom CSS styles
91
  st.markdown("""
 
409
 
410
  if __name__ == '__main__':
411
  config()
412
+ if st.sidebar.button("**Open External Audio Recorder!**"):
413
+ open_page("https://voice-recorder-online.com/")
414
+
415
  ser_model,tokenizer,gpt_model,gpt_tokenizer = load_model()
416
  process_file(ser_model,tokenizer,gpt_model,gpt_tokenizer)