sabatale commited on
Commit
deaab9b
·
verified ·
1 Parent(s): 1af6f8a

Update utils/haystack.py

Browse files
Files changed (1) hide show
  1. utils/haystack.py +2 -2
utils/haystack.py CHANGED
@@ -45,11 +45,11 @@ def start_haystack(openai_key):
45
 
46
 
47
  @st.cache_data(show_spinner=True)
48
- def query(username, _pipeline):
49
  try:
50
  question = "It doesn't work on Android. The app is not blocking call!!!"
51
 
52
- replies = _pipeline.run({
53
  "text_embedder": {
54
  "text": question
55
  },
 
45
 
46
 
47
  @st.cache_data(show_spinner=True)
48
+ def query(username, _pipe):
49
  try:
50
  question = "It doesn't work on Android. The app is not blocking call!!!"
51
 
52
+ replies = _pipe.run({
53
  "text_embedder": {
54
  "text": question
55
  },