dgutierrez commited on
Commit
039fa01
1 Parent(s): e7fdf09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -115,7 +115,13 @@ async def main():
115
  print("\nIndexing complete. Vectorstore is ready for use.")
116
  return hf_retriever
117
 
118
-
 
 
 
 
 
 
119
  #hf_retriever = vectorstore.as_retriever()
120
 
121
  # -- AUGMENTED -- #
 
115
  print("\nIndexing complete. Vectorstore is ready for use.")
116
  return hf_retriever
117
 
118
+ async def run():
119
+ retriever = await main()
120
+ return retriever
121
+
122
+ hf_retriever = asyncio.run(run())
123
+
124
+
125
  #hf_retriever = vectorstore.as_retriever()
126
 
127
  # -- AUGMENTED -- #