christopher commited on
Commit
86d9385
1 Parent(s): d86c1fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from chatnoir_api.v1 import search
3
 
4
  @st.cache()
5
  def search_chat_noir(key, search_query):
6
- return search(api_key=key, search_query=search_query)
7
 
8
  st.set_page_config(
9
  page_title="ChatNoir",
 
3
 
4
  @st.cache()
5
  def search_chat_noir(key, search_query):
6
+ return search(api_key=key, query=search_query)
7
 
8
  st.set_page_config(
9
  page_title="ChatNoir",