Skip to content

Commit 41f7807

Browse files
committed
Remove version information and version callback from main.py
1 parent 606f7ec commit 41f7807

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

whisper_tiktok/main.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
from whisper_tiktok.utils.color_utils import rgb_to_bgr
1919
from whisper_tiktok.voice_manager import VoicesManager
2020

21-
__version__ = "2.0.0"
22-
2321
# Create Typer app
2422
app = typer.Typer(
2523
name="whisper-tiktok",
@@ -29,13 +27,6 @@
2927
console = Console()
3028

3129

32-
def version_callback(value: bool):
33-
"""Show version and exit."""
34-
if value:
35-
console.print(f"[bold blue]Whisper TikTok[/bold blue] v{__version__}")
36-
raise typer.Exit()
37-
38-
3930
@app.callback()
4031
def main():
4132
"""Whisper TikTok - Create TikTok videos with AI-generated subtitles."""

0 commit comments

Comments
 (0)