Give feedback

How would you rate this Learning Path?

Review frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
How do I confirm that my microphone transcription works before adding translation?
Run python stt.py to record five seconds of audio. Confirm that the transcript contains the words you spoke. If it’s empty, check the selected microphone and your terminal’s permission.
How do I test Spanish translation before connecting the microphone?
Run python translate.py Spanish and enter a short English sentence at the prompt. You should see the Spanish translation appear as Gemma generates it.
How do I test text-to-speech and verify audio playback?
Run python tts.py Spanish and paste a Spanish sentence to synthesize and play speech. If you don’t hear audio, confirm that macOS has selected your intended output device.
Which files should exist before launching the Gradio app?
Make sure stt.py, translate.py, tts.py, and languages.py are in your project directory. Then create app.py to connect them to a local Gradio interface.
Can I translate into a language other than Spanish?
Yes. Select another language listed in LANGUAGES. To add a new supported target language, update LANGUAGES in languages.py. For a non-English source language, you need a different speech recognition model and configuration.

Share

Tell others about this Learning Path.

Return to Laptops and Desktops