christopher
commited on
Commit
•
58f4d67
1
Parent(s):
c5807d5
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from chatnoir_api.v1 import search
|
3 |
|
4 |
-
@st.cache(suppress_st_warning=True)
|
5 |
def search_chat_noir(key, search_query):
|
6 |
return search(api_key=key, query=search_query)
|
7 |
|
|
|
1 |
import streamlit as st
|
2 |
from chatnoir_api.v1 import search
|
3 |
|
4 |
+
@st.cache(suppress_st_warning=True, allow_output_mutation=True)
|
5 |
def search_chat_noir(key, search_query):
|
6 |
return search(api_key=key, query=search_query)
|
7 |
|