Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ with youtube_url_tab:
|
|
84 |
st.write(summary)
|
85 |
|
86 |
except Exception as e:
|
87 |
-
st.error(e)
|
88 |
|
89 |
# Video file transcription
|
90 |
|
@@ -104,8 +104,8 @@ with file_select_tab:
|
|
104 |
summary = generate_ai_summary(video_transcript)
|
105 |
st.write(summary)
|
106 |
|
107 |
-
|
108 |
-
st.error(
|
109 |
|
110 |
# Audio transcription
|
111 |
with audio_file_tab:
|
|
|
84 |
st.write(summary)
|
85 |
|
86 |
except Exception as e:
|
87 |
+
st.error("Enter a valid url": e)
|
88 |
|
89 |
# Video file transcription
|
90 |
|
|
|
104 |
summary = generate_ai_summary(video_transcript)
|
105 |
st.write(summary)
|
106 |
|
107 |
+
except Exception as e:
|
108 |
+
st.error(e)
|
109 |
|
110 |
# Audio transcription
|
111 |
with audio_file_tab:
|