Spaces:
No application file
No application file
ENUGANDHULA NILESH
commited on
Update search.py
Browse files
search.py
CHANGED
@@ -17,7 +17,7 @@ wiki=WikipediaQueryRun(api_wrapper=api_wrapper)
|
|
17 |
|
18 |
search=DuckDuckGoSearchRun(name="Search")
|
19 |
|
20 |
-
|
21 |
st.title("🤖 NileAI - Your AI Search Companion")
|
22 |
"""
|
23 |
Welcome to NileSearch, your AI-powered chat agent for real-time web search and insights.
|
@@ -54,4 +54,4 @@ if prompt:=st.chat_input(placeholder="What is machine learning?"):
|
|
54 |
st_cb = StreamlitCallbackHandler(st.container(), expand_new_thoughts=False)
|
55 |
response = search_agent.run(st.session_state.messages, callbacks=[st_cb])
|
56 |
st.session_state.messages.append({'role':'assistant', 'content':response})
|
57 |
-
st.write(response)
|
|
|
17 |
|
18 |
search=DuckDuckGoSearchRun(name="Search")
|
19 |
|
20 |
+
##NILESH
|
21 |
st.title("🤖 NileAI - Your AI Search Companion")
|
22 |
"""
|
23 |
Welcome to NileSearch, your AI-powered chat agent for real-time web search and insights.
|
|
|
54 |
st_cb = StreamlitCallbackHandler(st.container(), expand_new_thoughts=False)
|
55 |
response = search_agent.run(st.session_state.messages, callbacks=[st_cb])
|
56 |
st.session_state.messages.append({'role':'assistant', 'content':response})
|
57 |
+
st.write(response)
|