add live record function in speech to text

seow
suvodip ghosh 2025-06-26 14:54:13 +00:00
parent 6281a0d467
commit 340a1c3e61
1 changed files with 7 additions and 2 deletions

View File

@ -557,13 +557,18 @@ export default function AudioUploader() {
</div>
)}
</div>
<div className="flex items-center justify-center w-full mb-3 -mt-2">
<span className="flex-grow border-b-2 border-[#6d9e37]"></span>
<h2 className="mx-2 text-[#6d9e37] font-bold">OR</h2>
<span className="flex-grow border-b-2 border-[#6d9e37]"></span>
</div>
{/* File Upload Section */}
<div className="mb-8 p-4 border border-dashed border-[#6d9e37] rounded-lg bg-gray-50">
<div className="flex items-center justify-between mb-4">
<div>
<label className="block text-sm font-medium text-gray-700 mb-1">
Or Upload Audio File
Upload Audio File
</label>
<p className="text-xs text-gray-500">Supports WAV, MP3, OGG formats (max {MAX_FILE_SIZE_MB}MB)</p>
</div>