yum-archive/TaSTT-Whisper

High-performance GPGPU inference of OpenAI's Whisper automatic speech recognition (ASR) model

git clone https://git.yummers.dev/yum-archive/TaSTT-Whisper

KonstantinGUI to force specific version of the compute shaders670f889

master
691 B35 linesraw
1#pragma once
2#include "AppState.h"
3#include "Utils/WTL/atlddx.h"
4#include "Utils/miscUtils.h"
5
6class ModelAdvancedDlg :
7	public CDialogImpl<ModelAdvancedDlg>
8{
9	CComboBox cbWave, cbReshapedMatMul;
10	AppState& appState;
11
12public:
13	static constexpr UINT IDD = IDD_MODEL_ADV;
14
15	ModelAdvancedDlg( AppState& app ) : appState( app ) { }
16
17	BEGIN_MSG_MAP( ModelAdvancedDlg )
18		MESSAGE_HANDLER( WM_INITDIALOG, onInitDialog )
19		ON_BUTTON_CLICK( IDOK, onOk )
20		ON_BUTTON_CLICK( IDCANCEL, onCancel )
21	END_MSG_MAP()
22
23	bool show( HWND owner );
24
25private:
26
27	LRESULT onInitDialog( UINT nMessage, WPARAM wParam, LPARAM lParam, BOOL& bHandled );
28
29	void onOk();
30
31	void onCancel()
32	{
33		EndDialog( IDCANCEL );
34	}
35};