Spaces:
Runtime error
Runtime error
cache data
Browse files- 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
|
| 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)
|