char-fork/llama.cpp
git clone https://git.t4t.associates/char-fork/llama.cpp
59778f019
char/aliceai-t5-moe
1/** 2* Creates a base64 data URL from MIME type and base64-encoded data. 3* 4* @param mimeType - The MIME type (e.g., 'image/png', 'audio/mp3') 5* @param base64Data - The base64-encoded data 6* @returns A data URL string in format 'data:{mimeType};base64,{data}' 7*/ 8export function createBase64DataUrl ( mimeType :string , base64Data :string ) :string { 9return `data: ${ mimeType } ;base64, ${ base64Data } ` ; 10}