Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import os
|
|
3 |
import random
|
4 |
import gradio as gr
|
5 |
from TTS.api import TTS
|
6 |
-
from transformers import
|
7 |
import base64
|
8 |
from datasets import load_dataset
|
9 |
from diffusers import DiffusionPipeline
|
@@ -79,7 +79,7 @@ tab2 = gr.Interface(
|
|
79 |
|
80 |
textbox = gr.Textbox(value="good morning pineapple! looking very good very nice!", label="Type text to convert to your voice:")
|
81 |
sampletext = gr.HTML("""
|
82 |
-
<
|
83 |
<audio controls autoplay>
|
84 |
<source src="https://huggingface.co/spaces/Abrahamau/gradiotest/resolve/main/sampleaudio/abraham.wav" type="audio/wav">
|
85 |
Your browser does not support the audio element.
|
|
|
3 |
import random
|
4 |
import gradio as gr
|
5 |
from TTS.api import TTS
|
6 |
+
from transformers import pipeline
|
7 |
import base64
|
8 |
from datasets import load_dataset
|
9 |
from diffusers import DiffusionPipeline
|
|
|
79 |
|
80 |
textbox = gr.Textbox(value="good morning pineapple! looking very good very nice!", label="Type text to convert to your voice:")
|
81 |
sampletext = gr.HTML("""
|
82 |
+
<h3>If you do not sample your voice my voice will be used as input:<h3>
|
83 |
<audio controls autoplay>
|
84 |
<source src="https://huggingface.co/spaces/Abrahamau/gradiotest/resolve/main/sampleaudio/abraham.wav" type="audio/wav">
|
85 |
Your browser does not support the audio element.
|