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