Download delscript.py from BlueFLL/blubeai: direct link, hf CLI and curl.
- Browser
- Download file 243 Bytes
-
https://huggingface.co/spaces/BlueFLL/blubeai/resolve/main/delscript.py
- Command line
-
hf download hf://spaces/BlueFLL/blubeai/delscript.py
-
curl -L -o delscript.py https://huggingface.co/spaces/BlueFLL/blubeai/resolve/main/delscript.py
243 Bytes
| import os | |
| if os.path.exists("docs/data.txt"): | |
| os.remove("docs/data.txt") | |
| if os.path.exists("docs/customdata.txt"): | |
| os.remove("docs/customdata.txt") | |
| file = open("docs/data.txt", "x") | |
| file = open("docs/customdata.txt", "x") | |
| file.close() |