massimoavvisati commited on
Commit
1d10660
·
verified ·
1 Parent(s): aa39831

Update app.py

Browse files

Made API available.

Files changed (1) hide show
  1. app.py +4 -15
app.py CHANGED
@@ -34,19 +34,8 @@ async def create_demo():
34
 
35
  description = """
36
  Convert text to speech using Microsoft Edge TTS. Adjust speech rate and pitch: 0 is default, positive values increase, negative values decrease.
37
-
38
- 🎥 **Exciting News: Introducing our Text-to-Video Converter!** 🎥
39
-
40
- Take your content creation to the next level with our cutting-edge Text-to-Video Converter!
41
- Transform your words into stunning, professional-quality videos in just a few clicks.
42
-
43
- ✨ Features:
44
- • Convert text to engaging videos with customizable visuals
45
- • Choose from 40+ languages and 300+ voices
46
- • Perfect for creating audiobooks, storytelling, and language learning materials
47
- • Ideal for educators, content creators, and language enthusiasts
48
-
49
- Ready to revolutionize your content? [Click here to try our Text-to-Video Converter now!](https://text2video.wingetgui.com/)
50
  """
51
 
52
  demo = gr.Interface(
@@ -63,10 +52,10 @@ async def create_demo():
63
  ],
64
  title="Edge TTS Text-to-Speech",
65
  description=description,
66
- article="Experience the power of Edge TTS for text-to-speech conversion, and explore our advanced Text-to-Video Converter for even more creative possibilities!",
67
  analytics_enabled=False,
68
  allow_flagging="manual",
69
- api_name=None
70
  )
71
  return demo
72
 
 
34
 
35
  description = """
36
  Convert text to speech using Microsoft Edge TTS. Adjust speech rate and pitch: 0 is default, positive values increase, negative values decrease.
37
+
38
+ Original Space by innoai
 
 
 
 
 
 
 
 
 
 
 
39
  """
40
 
41
  demo = gr.Interface(
 
52
  ],
53
  title="Edge TTS Text-to-Speech",
54
  description=description,
55
+ article="Experience the power of Edge TTS for text-to-speech conversion!",
56
  analytics_enabled=False,
57
  allow_flagging="manual",
58
+ api_name="/predict"
59
  )
60
  return demo
61