Spaces:
Sleeping
Sleeping
Download run.bat from notebooklm-group2/NotebookLM-Clone: direct link, hf CLI and curl.
- Browser
- Download file 735 Bytes
-
https://huggingface.co/spaces/notebooklm-group2/NotebookLM-Clone/resolve/main/run.bat
- Command line
-
hf download hf://spaces/notebooklm-group2/NotebookLM-Clone/run.bat
-
curl -L -o run.bat https://huggingface.co/spaces/notebooklm-group2/NotebookLM-Clone/resolve/main/run.bat
735 Bytes
| @echo off | |
| REM Gradio has issues with Python 3.13 - use 3.10, 3.11, or 3.12 | |
| echo Checking for Python 3.10/3.11/3.12... | |
| py -3.10 --version 2>nul && goto run310 | |
| py -3.11 --version 2>nul && goto run311 | |
| py -3.12 --version 2>nul && goto run312 | |
| echo. | |
| echo Python 3.10, 3.11, or 3.12 not found. | |
| echo Gradio does NOT work with Python 3.13. | |
| echo Install Python 3.10 from https://www.python.org/downloads/ | |
| pause | |
| exit /b 1 | |
| :run310 | |
| echo Using Python 3.10 | |
| py -3.10 -m pip install -r requirements.txt -q | |
| py -3.10 app.py | |
| goto end | |
| :run311 | |
| echo Using Python 3.11 | |
| py -3.11 -m pip install -r requirements.txt -q | |
| py -3.11 app.py | |
| goto end | |
| :run312 | |
| echo Using Python 3.12 | |
| py -3.12 -m pip install -r requirements.txt -q | |
| py -3.12 app.py | |
| goto end | |
| :end | |
| pause | |