Update app.py
Browse files
app.py
CHANGED
|
@@ -41,12 +41,12 @@ if uploaded_file is not None:
|
|
| 41 |
|
| 42 |
#Stage 2: Text to Story
|
| 43 |
st.text('Generating a story...')
|
| 44 |
-
story = text2story(scenario)
|
| 45 |
-
st.write(story)
|
| 46 |
|
| 47 |
#Stage 3: Story to Audio data
|
| 48 |
-
st.text('Generating audio data...')
|
| 49 |
-
audio_data =text2audio(story)
|
| 50 |
|
| 51 |
# Play button
|
| 52 |
if st.button("Play Audio"):
|
|
|
|
| 41 |
|
| 42 |
#Stage 2: Text to Story
|
| 43 |
st.text('Generating a story...')
|
| 44 |
+
# story = text2story(scenario)
|
| 45 |
+
# st.write(story)
|
| 46 |
|
| 47 |
#Stage 3: Story to Audio data
|
| 48 |
+
# st.text('Generating audio data...')
|
| 49 |
+
# audio_data =text2audio(story)
|
| 50 |
|
| 51 |
# Play button
|
| 52 |
if st.button("Play Audio"):
|