SergeyO7 commited on
Commit
369246e
·
verified ·
1 Parent(s): 5430bdb
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -26,7 +26,8 @@ async def main():
26
  ]
27
  )
28
  # Use await inside the async function
29
- nodes = await pipeline.arun(documents=[Document.example()])
 
30
  # Optional: Do something with the nodes (e.g., print them)
31
  print(nodes)
32
 
 
26
  ]
27
  )
28
  # Use await inside the async function
29
+ nodes =
30
+ await pipeline.arun(documents=[Document.example()])
31
  # Optional: Do something with the nodes (e.g., print them)
32
  print(nodes)
33