tsi-org commited on
Commit
cf21b83
·
1 Parent(s): 57d3bbf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -18
app.py CHANGED
@@ -25,34 +25,34 @@ def generate_voice(text, voice_name):
25
  raise gr.Error(e)
26
 
27
 
28
- badges = """
29
- <div style="display: flex">
30
- <span style="margin-right: 5px">
31
 
32
- [ ![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white) ](https://github.com/elevenlabs/elevenlabs-python)
33
 
34
- </span>
35
- <span style="margin-right: 5px">
36
 
37
- [ ![Twitter](https://img.shields.io/badge/Twitter-%231DA1F2.svg?style=for-the-badge&logo=Twitter&logoColor=white) ](https://twitter.com/elevenlabsio)
38
 
39
- </span>
40
- <span>
41
 
42
- [ ![](https://dcbadge.vercel.app/api/server/elevenlabs) ](https://discord.gg/elevenlabs)
43
 
44
- </span>
45
- </div>
46
- """
47
 
48
  description = """
49
- A demo of the world's most advanced TTS systems, made by [ElevenLabs](https://elevenlabs.io). Eleven Multilingual V2 is a single foundational model supporting 28 languages including: English, Chinese, Spanish, Hindi, Portuguese, French, German, Japanese, Arabic, Korean, Indonesian, Italian, Dutch, Turkish, Polish, Swedish, Filipino, Malay, Romanian, Ukrainian, Greek, Czech, Danish, Finnish, Bulgarian, Croatian, Slovak, and Tamil. Sign up on [ElevenLabs](https://elevenlabs.io) to get fast access, long-form generation, voice cloning, API keys, and more!
50
  """
51
 
52
- with gr.Blocks() as block:
53
- gr.Markdown('[ ![ElevenLabs](https://user-images.githubusercontent.com/12028621/262629275-4f85c9cf-85b6-435e-ab50-5b8c7c4e9dd2.png) ](https://elevenlabs.io)')
54
- gr.Markdown(badges)
55
- gr.Markdown(description)
56
 
57
  input_text = gr.Textbox(
58
  label="Input Text (250 characters max)",
 
25
  raise gr.Error(e)
26
 
27
 
28
+ # badges = """
29
+ # <div style="display: flex">
30
+ # <span style="margin-right: 5px">
31
 
32
+ # [ ![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white) ](https://github.com/elevenlabs/elevenlabs-python)
33
 
34
+ # </span>
35
+ # <span style="margin-right: 5px">
36
 
37
+ # [ ![Twitter](https://img.shields.io/badge/Twitter-%231DA1F2.svg?style=for-the-badge&logo=Twitter&logoColor=white) ](https://twitter.com/elevenlabsio)
38
 
39
+ # </span>
40
+ # <span>
41
 
42
+ # [ ![](https://dcbadge.vercel.app/api/server/elevenlabs) ](https://discord.gg/elevenlabs)
43
 
44
+ # </span>
45
+ # </div>
46
+ # """
47
 
48
  description = """
49
+ Welcome to AI Tutor Text to Voice, single foundational model supporting 28 languages including: English, Chinese, Spanish, Hindi, Portuguese, French, German, Japanese, Arabic, Korean, Indonesian, Italian, Dutch, Turkish, Polish, Swedish, Filipino, Malay, Romanian, Ukrainian, Greek, Czech, Danish, Finnish, Bulgarian, Croatian, Slovak, and Tamil. Sign up on [ElevenLabs](https://elevenlabs.io) to get fast access, long-form generation, voice cloning, API keys, and more!
50
  """
51
 
52
+ # with gr.Blocks() as block:
53
+ # gr.Markdown('[ ![ElevenLabs](https://user-images.githubusercontent.com/12028621/262629275-4f85c9cf-85b6-435e-ab50-5b8c7c4e9dd2.png) ](https://elevenlabs.io)')
54
+ # gr.Markdown(badges)
55
+ # gr.Markdown(description)
56
 
57
  input_text = gr.Textbox(
58
  label="Input Text (250 characters max)",