Skip to content

Commit 1f1212e

Browse files
committed
chore: Add Flake8 configuration and remove unused torch import from model.py.
1 parent cfe9da2 commit 1f1212e

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

.flake8

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[flake8]
2+
max-line-length = 88
3+
extend-ignore = E203, W503
4+
exclude =
5+
.git,
6+
__pycache__,
7+
venv,
8+
.venv,
9+
build,
10+
dist,
11+
*.egg-info

model.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import soundfile as sf
2-
import torch
32
from qwen_tts import Qwen3TTSModel
43

54
from config import DEVICE, DTYPE, HF_TOKEN, MODEL_ID, USE_FLASH_ATTN

runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def pick_reference_audio() -> str:
2626

2727
if not files:
2828
print(f"❌ No audio files found in '{REFERENCE_AUDIO_DIR}/'.")
29-
print(f" Drop a .wav or .mp3 file there and re-run.\n")
29+
print(" Drop a .wav or .mp3 file there and re-run.\n")
3030
exit(1)
3131

3232
print("📂 Reference audio files available:")

0 commit comments

Comments
 (0)