Support whisper models (#238)
This commit is contained in:
19
sherpa-onnx/csrc/base64-decode.h
Normal file
19
sherpa-onnx/csrc/base64-decode.h
Normal file
@@ -0,0 +1,19 @@
|
||||
// sherpa-onnx/csrc/base64-decode.h
|
||||
//
|
||||
// Copyright (c) 2022-2023 Xiaomi Corporation
|
||||
|
||||
#ifndef SHERPA_ONNX_CSRC_BASE64_DECODE_H_
|
||||
#define SHERPA_ONNX_CSRC_BASE64_DECODE_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace sherpa_onnx {
|
||||
|
||||
/** @param s A base64 encoded string.
|
||||
* @return Return the decoded string.
|
||||
*/
|
||||
std::string Base64Decode(const std::string &s);
|
||||
|
||||
} // namespace sherpa_onnx
|
||||
|
||||
#endif // SHERPA_ONNX_CSRC_BASE64_DECODE_H_
|
||||
Reference in New Issue
Block a user