Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,14 +44,14 @@ if uploaded_file is not None:
|
|
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"):
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
|
|
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"):
|
53 |
+
# st.audio(audio_data['audio'],
|
54 |
+
# format="audio/wav",
|
55 |
+
# start_time=0,
|
56 |
+
# sample_rate = audio_data['sampling_rate'])
|
57 |
+
# # st.audio("kids_playing_audio.wav")
|