Spaces:
Runtime error
Runtime error
Download generate.py from K00B404/Research-chatbot: direct link, hf CLI and curl.
- Browser
- Download file 301 Bytes
-
https://huggingface.co/spaces/K00B404/Research-chatbot/resolve/main/generate.py
- Command line
-
hf download hf://spaces/K00B404/Research-chatbot/generate.py
-
curl -L -o generate.py https://huggingface.co/spaces/K00B404/Research-chatbot/resolve/main/generate.py
301 Bytes
| import os | |
| import sys | |
| if os.path.dirname(os.path.abspath(__file__)) not in sys.path: | |
| sys.path.append(os.path.dirname(os.path.abspath(__file__))) | |
| from src.gen import main | |
| from src.utils import H2O_Fire | |
| def entrypoint_main(): | |
| H2O_Fire(main) | |
| if __name__ == "__main__": | |
| entrypoint_main() | |