Abrahamau commited on
Commit
5a9f58c
·
verified ·
1 Parent(s): 6aab036

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 SpeechT5Processor, SpeechT5ForTextToSpeech, SpeechT5HifiGan, pipeline
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
- <span>If you do not sample your voice my voice will be used as input:<span>
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.