Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ st.subheader('Implementation of RAG over search results bing search', divider='r
|
|
7 |
query = st.text_input("Enter the query you want to search for:")
|
8 |
st.caption("Example: Why is there a huge conflict between India and Pakistan?")
|
9 |
submit_button = st.button("Submit")
|
10 |
-
hf_token = st.secrets["HF_TOKEN"]
|
11 |
|
12 |
if submit_button:
|
13 |
bingsearch = BingSearch(query)
|
|
|
7 |
query = st.text_input("Enter the query you want to search for:")
|
8 |
st.caption("Example: Why is there a huge conflict between India and Pakistan?")
|
9 |
submit_button = st.button("Submit")
|
10 |
+
hf_token = str(st.secrets["HF_TOKEN"])
|
11 |
|
12 |
if submit_button:
|
13 |
bingsearch = BingSearch(query)
|