-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathlaunch_mic.bat
More file actions
64 lines (56 loc) · 1.49 KB
/
launch_mic.bat
File metadata and controls
64 lines (56 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
@echo off
IF NOT EXIST talker_mic.exe (
echo talker_mic.exe not found.
echo Please download it from the latest release on GitHub:
echo https://github.com/Mirrowel/TALKER/releases
pause
exit
)
:menu
cls
echo ===============================================
echo TALKER Microphone Launcher
echo ===============================================
echo.
echo Select a transcription provider:
echo.
echo 1. Gemini via API Proxy (Link below(Required))
echo 2. Whisper Local
echo 3. Whisper API (OpenAI)
echo.
echo 4. Exit
echo.
echo ===============================================
echo.
echo API Proxy by Mirrowel:
echo https://github.com/Mirrowel/LLM-API-Key-Proxy
echo.
echo ===============================================
set /p choice="Enter your choice (1-4): "
if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='1' goto gemini
if '%choice%'=='2' goto whisper_local
if '%choice%'=='3' goto whisper_api
if '%choice%'=='4' goto exit
echo Invalid choice. Please try again.
timeout /t 2 >nul
goto menu
:gemini
echo Launching with Gemini Proxy...
start "TALKER Mic - Gemini Proxy" talker_mic.exe gemini_proxy
goto end
:whisper_local
echo Launching with Whisper Local...
start "TALKER Mic - Whisper Local" talker_mic.exe whisper_local
goto end
:whisper_api
echo Launching with Whisper API...
start "TALKER Mic - Whisper API" talker_mic.exe whisper_api
goto end
:exit
exit
:end
echo.
echo The microphone application has been launched in a new window.
echo You can close this window now.
pause