Spaces:
Sleeping
Sleeping
| @chcp 65001 >nul | |
| @echo off | |
| echo HuggingFace Hub ๋ฒ์ ๋ฌธ์ ํด๊ฒฐ ์์... | |
| cd /d C:\Project\lily_generate_project\lily_generate_package | |
| echo. | |
| echo 1. latex_ocr_env ํ์ฑํ... | |
| call latex_ocr_env\Scripts\activate | |
| echo. | |
| echo 2. ํ์ฌ huggingface_hub ๋ฒ์ ํ์ธ... | |
| python -c "import huggingface_hub; print('ํ์ฌ ๋ฒ์ :', huggingface_hub.__version__)" | |
| echo. | |
| echo 3. huggingface_hub ๋ค์ด๊ทธ๋ ์ด๋ (ํธํ ๋ฒ์ ์ผ๋ก)... | |
| python -m pip install huggingface_hub==0.16.4 | |
| echo. | |
| echo 4. sentence-transformers ์ฌ์ค์น... | |
| python -m pip uninstall sentence-transformers -y | |
| python -m pip install sentence-transformers==2.2.2 | |
| echo. | |
| echo 5. ์ค์น ํ์ธ... | |
| python -c "import huggingface_hub; print('HuggingFace Hub:', huggingface_hub.__version__)" | |
| python -c "import sentence_transformers; print('SentenceTransformers')" | |
| echo. | |
| echo HuggingFace Hub ๋ฒ์ ๋ฌธ์ ํด๊ฒฐ ์๋ฃ! | |
| pause |