Update app.py
Browse files
app.py
CHANGED
@@ -68,9 +68,6 @@ with gr.Blocks(title="MalianVoices") as demo:
|
|
68 |
1. Pick a language from the dropdown
|
69 |
2. Enter your text or load an example
|
70 |
3. Click **"Generate Audio"** to listen
|
71 |
-
|
72 |
-
By [sudoping01](https://huggingface.co/sudoping01), from [sudoping01/malian-tts](https://huggingface.co/sudoping01/malian-tts). Fine-tuned on Meta’s MMS, CC BY-NC 4.0, non-commercial.
|
73 |
-
No setup. Type and hear it.
|
74 |
"""
|
75 |
)
|
76 |
|
@@ -84,6 +81,14 @@ with gr.Blocks(title="MalianVoices") as demo:
|
|
84 |
audio_output = gr.Audio(label="Generated Audio", type="numpy")
|
85 |
error_msg = gr.Textbox(label="Status", visible=False)
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
# Connect buttons to functions
|
88 |
generate_btn.click(
|
89 |
fn=generate_audio,
|
|
|
68 |
1. Pick a language from the dropdown
|
69 |
2. Enter your text or load an example
|
70 |
3. Click **"Generate Audio"** to listen
|
|
|
|
|
|
|
71 |
"""
|
72 |
)
|
73 |
|
|
|
81 |
audio_output = gr.Audio(label="Generated Audio", type="numpy")
|
82 |
error_msg = gr.Textbox(label="Status", visible=False)
|
83 |
|
84 |
+
# Footer at the bottom
|
85 |
+
gr.Markdown(
|
86 |
+
"""
|
87 |
+
By [sudoping01](https://huggingface.co/sudoping01), from [sudoping01/malian-tts](https://huggingface.co/sudoping01/malian-tts). Fine-tuned on Meta’s MMS, CC BY-NC 4.0, non-commercial.
|
88 |
+
No setup. Type and hear it.
|
89 |
+
"""
|
90 |
+
)
|
91 |
+
|
92 |
# Connect buttons to functions
|
93 |
generate_btn.click(
|
94 |
fn=generate_audio,
|