Spaces:
Build error
Build error
Update app.py
Browse files27 unmodified lines2829303132333427 unmodified lines#st.write("Label: ", result['label'])#st.image(spam_pic, caption="It's a spam!")else:st.write("Ham!")#st.write("Label: ", result['label'])speech = to_speech(text)st.audio(speech, sample_rate=16000, autoplay=True)27 unmodified lines2829303132333427 unmodified lines#st.write("Label: ", result['label'])#st.image(spam_pic, caption="It's a spam!")else:st.write("Ham! Generating speech...")#st.write("Label: ", result['label'])speech = to_speech(text)st.audio(speech, sample_rate=16000, autoplay=True)
app.py+1-1