Spaces:
Runtime error
Runtime error
Commit
·
d25a720
1
Parent(s):
038de77
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def text2Speech(story) :
|
|
48 |
"inputs": story,
|
49 |
})
|
50 |
with open('audio.flac','wb') as file:
|
51 |
-
|
52 |
|
53 |
def main()
|
54 |
st.set_page_config(page_title="Image to Short Story", page_icon="")
|
|
|
48 |
"inputs": story,
|
49 |
})
|
50 |
with open('audio.flac','wb') as file:
|
51 |
+
file.write(output.content)
|
52 |
|
53 |
def main()
|
54 |
st.set_page_config(page_title="Image to Short Story", page_icon="")
|