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