Spaces:
Building
Building
Update app.py
Browse files
app.py
CHANGED
@@ -151,4 +151,6 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
151 |
audio_input = gr.Audio(sources=["microphone"], type="filepath", label="Speak Now")
|
152 |
direction_voice = gr.Dropdown(choices=list(MODEL_MAP.keys()), label="Translation Direction", value="English → Swahili")
|
153 |
tone_voice = gr.Radio(choices=list(TONE_MODIFIERS.keys()), label="Tone", value="Neutral")
|
154 |
-
voice_output = gr.Text
|
|
|
|
|
|
151 |
audio_input = gr.Audio(sources=["microphone"], type="filepath", label="Speak Now")
|
152 |
direction_voice = gr.Dropdown(choices=list(MODEL_MAP.keys()), label="Translation Direction", value="English → Swahili")
|
153 |
tone_voice = gr.Radio(choices=list(TONE_MODIFIERS.keys()), label="Tone", value="Neutral")
|
154 |
+
voice_output = gr.Text
|
155 |
+
|
156 |
+
demo.launch()
|