Prompt48 commited on
Commit
615bbf5
·
verified ·
1 Parent(s): e053473

Upload edit\Qwen3-TTS-test\setup.bat with huggingface_hub

Browse files
Files changed (1) hide show
  1. edit//Qwen3-TTS-test//setup.bat +20 -0
edit//Qwen3-TTS-test//setup.bat ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+ cd /d "%~dp0"
3
+
4
+ echo Creating .venv...
5
+ python -m venv .venv
6
+
7
+ echo Installing PyTorch with CUDA 12.4...
8
+ .venv\Scripts\pip install torch torchaudio --index-url https://download.pytorch.org/whl/cu124
9
+
10
+ echo Installing qwen_tts and deps...
11
+ .venv\Scripts\pip install -e .
12
+ .venv\Scripts\pip install soundfile
13
+
14
+ echo.
15
+ echo Verifying GPU...
16
+ .venv\Scripts\python -c "import torch; print('CUDA:', torch.cuda.is_available(), '| Device:', torch.cuda.get_device_name(0) if torch.cuda.is_available() else 'NOT DETECTED')"
17
+
18
+ echo.
19
+ echo Setup done. Run with:
20
+ echo run.bat