Spaces:
Runtime error
Runtime error
Commit
·
fc82495
1
Parent(s):
2382d71
Update app.py
Browse files
app.py
CHANGED
@@ -50,11 +50,6 @@ def text2Speech(story) :
|
|
50 |
with open('audio.flac','wb') as file:
|
51 |
file.write(output.content)
|
52 |
|
53 |
-
|
54 |
-
scenario = img2Text("photo.jpg")
|
55 |
-
story = generate_story(scenario)
|
56 |
-
text2Speech(story)
|
57 |
-
|
58 |
def main()
|
59 |
st.set_page_config(page_title="Image to Short Story", page_icon="")
|
60 |
st.header("Turn img into Audio Story")
|
|
|
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="")
|
55 |
st.header("Turn img into Audio Story")
|