ganeshk commited on
Commit
09b7e12
·
verified ·
1 Parent(s): 311f0e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -7
app.py CHANGED
@@ -20,10 +20,7 @@ def open_page(url):
20
  """ % (url)
21
  html(open_script)
22
 
23
- if st.button('Mistral Chat', on_click=open_page, args=(mistral_url,)):
24
- #webbrowser.open(mistral_url)
25
- # st.markdown(mistral_url, unsafe_allow_html=True)
26
- elif st.button('Llama2 Chat', on_click=open_page, args=(llama2_url,)):
27
- #webbrowser.open(llama2_url)
28
- # st.markdown(llama2_url, unsafe_allow_html=True)
29
-
 
20
  """ % (url)
21
  html(open_script)
22
 
23
+ if st.checkbox("mistral Chat"):
24
+ st.button('Mistral Chat', on_click=open_page, args=(mistral_url,))
25
+ elif st.checkbox("Llama-2 Chat"):
26
+ st.button('Llama2 Chat', on_click=open_page, args=(llama2_url,))