from datalab_sdk import DatalabClient, ConvertOptions
client = DatalabClient(api_key="API_KEY")
options=ConvertOptions(
additional_config={
"image_threshold":0.3
}
)
client.convert(
"C:/Users/ayushman/Downloads/gegp101-5.pdf",
options,
"output/run4/chapter"
)
when run in a jupyter notebook gives the error
RuntimeError: asyncio.run() cannot be called from a running event loop
when run in a jupyter notebook gives the error
RuntimeError: asyncio.run() cannot be called from a running event loop