Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def text_to_news_article(text):
|
|
52 |
return response['choices'][0]['text']
|
53 |
|
54 |
|
55 |
-
st.markdown('#
|
56 |
|
57 |
st.header('Input the Video URL')
|
58 |
|
@@ -62,7 +62,7 @@ if st.checkbox('Start Analysis'):
|
|
62 |
video_title, audio_filename = save_audio(url_link)
|
63 |
st.audio(audio_filename)
|
64 |
transcript = audio_to_transcript(audio_filename)
|
65 |
-
st.header("Transcript
|
66 |
st.success(transcript)
|
67 |
st.header("News Article")
|
68 |
result = text_to_news_article(transcript)
|
|
|
52 |
return response['choices'][0]['text']
|
53 |
|
54 |
|
55 |
+
st.markdown('# 🔴📺 Generate and Chat with Transcripts')
|
56 |
|
57 |
st.header('Input the Video URL')
|
58 |
|
|
|
62 |
video_title, audio_filename = save_audio(url_link)
|
63 |
st.audio(audio_filename)
|
64 |
transcript = audio_to_transcript(audio_filename)
|
65 |
+
st.header("Transcript")
|
66 |
st.success(transcript)
|
67 |
st.header("News Article")
|
68 |
result = text_to_news_article(transcript)
|