Skip to content

Commit

Permalink
cache data
Browse files Browse the repository at this point in the history
  • Loading branch information
TuanaCelik committed Jul 18, 2023
1 parent 1c1d5b6 commit 44d95ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/haystack.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def start_haystack(openai_key):
return prompt_node, twitter_template


@st.cache_data(show_spinner=True)
@st.cache_data
def query(username, _prompter, _template):
headers = {"Authorization": "Bearer {}".format(TWITTER_BEARER)}
print(username)
Expand Down

0 comments on commit 44d95ce

Please sign in to comment.