Spaces:
Runtime error
Runtime error
Commit
·
fdca0f8
1
Parent(s):
e3c115f
Update app.py
Browse files
app.py
CHANGED
@@ -61,11 +61,10 @@ def main() :
|
|
61 |
st.image(uploaded_file, caption= 'Uploaded Image.',
|
62 |
use_column_width=True)
|
63 |
scenario = img2Text(uploaded_file.name)
|
64 |
-
story = generate_story(scenario)
|
65 |
-
text2Speech(story)
|
66 |
-
|
67 |
with st.expander("scenario"):
|
68 |
st.write(scenario)
|
|
|
|
|
69 |
with st.expander("story"):
|
70 |
st.write(story)
|
71 |
|
|
|
61 |
st.image(uploaded_file, caption= 'Uploaded Image.',
|
62 |
use_column_width=True)
|
63 |
scenario = img2Text(uploaded_file.name)
|
|
|
|
|
|
|
64 |
with st.expander("scenario"):
|
65 |
st.write(scenario)
|
66 |
+
story = generate_story(scenario)
|
67 |
+
text2Speech(story)
|
68 |
with st.expander("story"):
|
69 |
st.write(story)
|
70 |
|