YT to blog, bug fixes - WIP

This commit is contained in:
ajaysi
2024-10-12 07:59:13 +05:30
parent 16bcd86bb7
commit e6f60feba5
6 changed files with 170 additions and 133 deletions

View File

@@ -169,7 +169,8 @@ def blog_from_keyword():
st.error('🚫 Blog keywords should be at least two words long. Please try again.')
elif input_type == "youtube_url" or input_type == "audio_file":
generate_audio_blog(user_input)
if not generate_audio_blog(user_input):
st.stop()
elif input_type == "web_url":
blog_from_url(user_input)