Download setup_structure.sh from Rulga/Doc-chat: direct link, hf CLI and curl.
- Browser
- Download file 497 Bytes
-
https://huggingface.co/spaces/Rulga/Doc-chat/resolve/main/setup_structure.sh
- Command line
-
hf download hf://spaces/Rulga/Doc-chat/setup_structure.sh
-
curl -L -o setup_structure.sh https://huggingface.co/spaces/Rulga/Doc-chat/resolve/main/setup_structure.sh
497 Bytes
| # Создание основной структуры директорий | |
| mkdir -p api utils tests chat_history vector_store | |
| # Создание файлов Python | |
| touch api/__init__.py | |
| touch utils/__init__.py | |
| touch tests/__init__.py | |
| touch tests/test_app.py | |
| # Перемещение существующих файлов | |
| mv chat_analysis.py utils/ | |
| mv analysis.py api/ | |
| # Создание .gitkeep для пустых директорий | |
| touch chat_history/.gitkeep | |
| touch vector_store/.gitkeep |