Update app.py
Browse files
app.py
CHANGED
|
@@ -1,20 +1,16 @@
|
|
| 1 |
-
|
| 2 |
import streamlit as st
|
| 3 |
-
# import webbrowser
|
| 4 |
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
# st.image('llama2_logo.png')
|
| 13 |
-
|
| 14 |
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
|
|
|
|
|
|
|
| 1 |
import streamlit as st
|
|
|
|
| 2 |
|
| 3 |
+
st.title('Chat LLMs Interfaces !')
|
| 4 |
+
|
| 5 |
+
mistral_url = 'https://aipatseer-chatllm.hf.space'
|
| 6 |
+
llama2_url = 'https://huggingface-projects-llama-2-7b-chat.hf.space'
|
| 7 |
+
st.title('Select Interface')
|
| 8 |
+
# st.image('mistral_logo.webp')
|
| 9 |
+
# st.image('llama2_logo.png')
|
|
|
|
|
|
|
| 10 |
|
| 11 |
|
| 12 |
+
if st.button('Open Mistral Chat Interface'):
|
| 13 |
+
st.markdown(mistral_url, unsafe_allow_html=True)
|
| 14 |
+
elif st.button('Open Llama2 Chat Interface'):
|
| 15 |
+
st.markdown(llama2_url, unsafe_allow_html=True)
|
| 16 |
|