Update pages/2_Chatbot.py
Browse files- pages/2_Chatbot.py +3 -3
pages/2_Chatbot.py
CHANGED
@@ -2,10 +2,10 @@ from openai import OpenAI
|
|
2 |
import streamlit as st
|
3 |
|
4 |
with st.sidebar:
|
5 |
-
IFC_API_KEY = st.text_input("HF access
|
6 |
-
selected_model = st.
|
7 |
"Choose a model to chat with",
|
8 |
-
("
|
9 |
)
|
10 |
temperature = st.slider("Temperature", 0.01, 0.99, 0.5)
|
11 |
top_p = st.slider("Top_p", 0.01, 0.99, 0.7)
|
|
|
2 |
import streamlit as st
|
3 |
|
4 |
with st.sidebar:
|
5 |
+
IFC_API_KEY = st.text_input("HF access token", key="chat_bot_api_key", type="password")
|
6 |
+
selected_model = st.selectbox(
|
7 |
"Choose a model to chat with",
|
8 |
+
("meta-llama/Llama-3.3-70B-Instruct", "meta-llama/Llama-3.1-8B-Instruct", "Qwen/QwQ-32B-Preview", "Qwen/Qwen2.5-72B-Instruct", "microsoft/Phi-3.5-mini-instruct"),
|
9 |
)
|
10 |
temperature = st.slider("Temperature", 0.01, 0.99, 0.5)
|
11 |
top_p = st.slider("Top_p", 0.01, 0.99, 0.7)
|