common : separate whisper sources (#2846)

* common : separate whisper sources

* examples : add chrono

* examples : add more headers
This commit is contained in:
Georgi Gerganov
2025-02-27 12:50:32 +02:00
committed by GitHub
parent 9f83f67221
commit c64f3e8ada
13 changed files with 228 additions and 276 deletions

View File

@ -1,17 +1,18 @@
#include "common.h"
#include "common-whisper.h"
#include "whisper.h"
#include "httplib.h"
#include "json.hpp"
#include <chrono>
#include <cmath>
#include <fstream>
#include <cstdio>
#include <fstream>
#include <sstream>
#include <string>
#include <thread>
#include <vector>
#include <cstring>
#include <sstream>
#if defined(_MSC_VER)
#pragma warning(disable: 4244 4267) // possible loss of data