Tuana commited on
Commit
44d95ce
·
1 Parent(s): 1c1d5b6

cache data

Browse files
Files changed (1) hide show
  1. utils/haystack.py +1 -1
utils/haystack.py CHANGED
@@ -39,7 +39,7 @@ def start_haystack(openai_key):
39
  return prompt_node, twitter_template
40
 
41
 
42
- @st.cache_data(show_spinner=True)
43
  def query(username, _prompter, _template):
44
  headers = {"Authorization": "Bearer {}".format(TWITTER_BEARER)}
45
  print(username)
 
39
  return prompt_node, twitter_template
40
 
41
 
42
+ @st.cache_data
43
  def query(username, _prompter, _template):
44
  headers = {"Authorization": "Bearer {}".format(TWITTER_BEARER)}
45
  print(username)