Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ st.title('Chat LLMs Interfaces !')
|
|
| 6 |
|
| 7 |
mistral_url = 'https://aipatseer-chatllm.hf.space'
|
| 8 |
llama2_url = 'https://huggingface-projects-llama-2-7b-chat.hf.space'
|
| 9 |
-
|
| 10 |
st.image('mistral_logo.webp',width=100)
|
| 11 |
st.image('llama2_logo.png',width=100)
|
| 12 |
|
|
@@ -18,7 +18,7 @@ def open_page(url):
|
|
| 18 |
</script>
|
| 19 |
""" % (url)
|
| 20 |
html(open_script)
|
| 21 |
-
|
| 22 |
if st.checkbox("mistral Chat"):
|
| 23 |
st.button('Mistral Chat', on_click=open_page, args=(mistral_url,))
|
| 24 |
elif st.checkbox("Llama-2 Chat"):
|
|
|
|
| 6 |
|
| 7 |
mistral_url = 'https://aipatseer-chatllm.hf.space'
|
| 8 |
llama2_url = 'https://huggingface-projects-llama-2-7b-chat.hf.space'
|
| 9 |
+
|
| 10 |
st.image('mistral_logo.webp',width=100)
|
| 11 |
st.image('llama2_logo.png',width=100)
|
| 12 |
|
|
|
|
| 18 |
</script>
|
| 19 |
""" % (url)
|
| 20 |
html(open_script)
|
| 21 |
+
st.title('Select Chat Interface and click on button')
|
| 22 |
if st.checkbox("mistral Chat"):
|
| 23 |
st.button('Mistral Chat', on_click=open_page, args=(mistral_url,))
|
| 24 |
elif st.checkbox("Llama-2 Chat"):
|