Spaces:
Sleeping
Sleeping
Download test_local.py from printf-sourav/CSV_DC_ENV: direct link, hf CLI and curl.
- Browser
- Download file 247 Bytes
-
https://huggingface.co/spaces/printf-sourav/CSV_DC_ENV/resolve/main/test_local.py
- Command line
-
hf download hf://spaces/printf-sourav/CSV_DC_ENV/test_local.py
-
curl -L -o test_local.py https://huggingface.co/spaces/printf-sourav/CSV_DC_ENV/resolve/main/test_local.py
247 Bytes
| import asyncio | |
| from client import CsvCleanerEnv | |
| async def main(): | |
| env = CsvCleanerEnv(base_url='http://localhost:8000') | |
| await env.connect() | |
| print('Connected!') | |
| await env.close() | |
| if __name__ == "__main__": | |
| asyncio.run(main()) | |