pminervini commited on
Commit
a744ad5
1 Parent(s): f1796fa
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -152,7 +152,7 @@ def rag_pipeline(prompt, index="pubmed", num_docs=3, model_name="HuggingFaceH4/z
152
  }
153
  ]
154
 
155
- response = generate.remote(model_name, messages)
156
 
157
  # analysed_response = analyse(joined_docs, response)
158
 
 
152
  }
153
  ]
154
 
155
+ response = ray.get(generate.remote(model_name, messages))
156
 
157
  # analysed_response = analyse(joined_docs, response)
158