Update app.py
Browse files
app.py
CHANGED
|
@@ -20,10 +20,7 @@ def open_page(url):
|
|
| 20 |
""" % (url)
|
| 21 |
html(open_script)
|
| 22 |
|
| 23 |
-
if st.
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 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,))
|
|
|
|
|
|
|
|
|