Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ import string
|
|
21 |
# User variables
|
22 |
topic = st.sidebar.text_input("Enter the Wikipedia topic:", "Japanese History")
|
23 |
#query = st.sidebar.text_input("Enter your first query:", "First query")
|
24 |
-
model_name =
|
25 |
HF_TOKEN = st.sidebar.text_input("Enter your Hugging Face token:", "YOUR_HF_TOKEN", type="password")
|
26 |
|
27 |
# Hugging Face login
|
@@ -125,7 +125,7 @@ def rag_advanced(user_query):
|
|
125 |
|
126 |
# Streamlit UI
|
127 |
st.title("Wikipedia RAG Chatbot")
|
128 |
-
st.markdown("Choose topic
|
129 |
|
130 |
# Input box for the user to type their message
|
131 |
user_input = st.text_input("You: ", "")
|
|
|
21 |
# User variables
|
22 |
topic = st.sidebar.text_input("Enter the Wikipedia topic:", "Japanese History")
|
23 |
#query = st.sidebar.text_input("Enter your first query:", "First query")
|
24 |
+
model_name = 'mistralai/Mistral-7B-Instruct-v0.3'
|
25 |
HF_TOKEN = st.sidebar.text_input("Enter your Hugging Face token:", "YOUR_HF_TOKEN", type="password")
|
26 |
|
27 |
# Hugging Face login
|
|
|
125 |
|
126 |
# Streamlit UI
|
127 |
st.title("Wikipedia RAG Chatbot")
|
128 |
+
st.markdown("Choose a topic. Don't forget to put your π€ token!")
|
129 |
|
130 |
# Input box for the user to type their message
|
131 |
user_input = st.text_input("You: ", "")
|