Spaces:
Sleeping
Sleeping
app1.py
Browse files
app.py
CHANGED
@@ -26,7 +26,8 @@ async def main():
|
|
26 |
]
|
27 |
)
|
28 |
# Use await inside the async function
|
29 |
-
nodes =
|
|
|
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 |
|