add live record function in speech to text
parent
6281a0d467
commit
340a1c3e61
|
@ -557,13 +557,18 @@ export default function AudioUploader() {
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</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 */}
|
{/* File Upload Section */}
|
||||||
<div className="mb-8 p-4 border border-dashed border-[#6d9e37] rounded-lg bg-gray-50">
|
<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 className="flex items-center justify-between mb-4">
|
||||||
<div>
|
<div>
|
||||||
<label className="block text-sm font-medium text-gray-700 mb-1">
|
<label className="block text-sm font-medium text-gray-700 mb-1">
|
||||||
Or Upload Audio File
|
Upload Audio File
|
||||||
</label>
|
</label>
|
||||||
<p className="text-xs text-gray-500">Supports WAV, MP3, OGG formats (max {MAX_FILE_SIZE_MB}MB)</p>
|
<p className="text-xs text-gray-500">Supports WAV, MP3, OGG formats (max {MAX_FILE_SIZE_MB}MB)</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue