+ {isDownloading && progress ? (
+
+
+
+ Downloading message {progress.current} of {progress.total}...
+
+
+ ) : (
+ <>
+
+
Select Voice:
+
+ setSelectedVoice(value as TtsVoice)
+ }
+ >
+ {TTS_VOICES.map((voice) => (
+
+
+ {voice}
+
+
+ ))}
+
+
+
+
+
+
+
+ >
+ )}
+
+