Spaces:
Sleeping
Sleeping
Commit
•
15f27fa
1
Parent(s):
b8dff16
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def generate_story(scenario, length):
|
|
48 |
def main():
|
49 |
st.set_page_config(page_title="Image Storyteller")
|
50 |
|
51 |
-
st.header("Image to
|
52 |
length = st.number_input("Length")
|
53 |
if not length or length == 0.0:
|
54 |
length = 10
|
@@ -76,9 +76,9 @@ def main():
|
|
76 |
story = generate_story(scenario, length)
|
77 |
# text2speech(story)
|
78 |
|
79 |
-
with st.expander("
|
80 |
st.write(scenario)
|
81 |
-
with st.expander("
|
82 |
st.write(story)
|
83 |
# st.audio('audio.wav')
|
84 |
|
|
|
48 |
def main():
|
49 |
st.set_page_config(page_title="Image Storyteller")
|
50 |
|
51 |
+
st.header("Image to Story")
|
52 |
length = st.number_input("Length")
|
53 |
if not length or length == 0.0:
|
54 |
length = 10
|
|
|
76 |
story = generate_story(scenario, length)
|
77 |
# text2speech(story)
|
78 |
|
79 |
+
with st.expander("Gcenario"):
|
80 |
st.write(scenario)
|
81 |
+
with st.expander("Generated Story"):
|
82 |
st.write(story)
|
83 |
# st.audio('audio.wav')
|
84 |
|