Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -48,9 +48,8 @@ def stream_aud(url):
|
|
48 |
for ea in inp:
|
49 |
txt=ea['text']
|
50 |
print(txt)
|
51 |
-
pp.stream_tts(in_text=txt,model="en_US-joe-medium")
|
52 |
-
|
53 |
-
#yield(pp.stream_tts(in_text=txt,model="en_US-joe-medium"))
|
54 |
|
55 |
def load_html(url):
|
56 |
html=f"""<iframe src="https://docs.google.com/viewer?url={url})&embedded=true" frameborder="0" height="1200px" width="100%"></iframe></div>"""
|
|
|
48 |
for ea in inp:
|
49 |
txt=ea['text']
|
50 |
print(txt)
|
51 |
+
out = pp.stream_tts(in_text=txt,model="en_US-joe-medium")
|
52 |
+
yield out
|
|
|
53 |
|
54 |
def load_html(url):
|
55 |
html=f"""<iframe src="https://docs.google.com/viewer?url={url})&embedded=true" frameborder="0" height="1200px" width="100%"></iframe></div>"""
|