Spaces:
Build error
Build error
Download funcs.py from SLRConsulting/Cutoffgrade: direct link, hf CLI and curl.
- Browser
- Download file 183 Bytes
-
https://huggingface.co/spaces/SLRConsulting/Cutoffgrade/resolve/main/funcs.py
- Command line
-
hf download hf://spaces/SLRConsulting/Cutoffgrade/funcs.py
-
curl -L -o funcs.py https://huggingface.co/spaces/SLRConsulting/Cutoffgrade/resolve/main/funcs.py
183 Bytes
| def get_text_block(fname): | |
| # this is how to read a block of text: | |
| path = "text_blocks" | |
| f = open(path + "//" + fname, "r") | |
| # and then write it to the app | |
| return f.read(); | |