Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -78,6 +78,7 @@ main_ph = st.empty()
|
|
78 |
|
79 |
# on button press
|
80 |
if submit_button:
|
|
|
81 |
progress_updates.text("Transcribing Video...")
|
82 |
# get video transcription
|
83 |
yt_obj = YouTube(video_url)
|
@@ -108,6 +109,7 @@ Question: {question}'''
|
|
108 |
# define main chain
|
109 |
st.session_state.chain = {"context": vector_db.as_retriever(), "question": RunnablePassthrough()} | prompt | llm | parser
|
110 |
progress_updates.text("Video Transcribed Successfully!!!")
|
|
|
111 |
|
112 |
|
113 |
if video_query_button:
|
|
|
78 |
|
79 |
# on button press
|
80 |
if submit_button:
|
81 |
+
main_ph.text("Transcribing Video, please wait...")
|
82 |
progress_updates.text("Transcribing Video...")
|
83 |
# get video transcription
|
84 |
yt_obj = YouTube(video_url)
|
|
|
109 |
# define main chain
|
110 |
st.session_state.chain = {"context": vector_db.as_retriever(), "question": RunnablePassthrough()} | prompt | llm | parser
|
111 |
progress_updates.text("Video Transcribed Successfully!!!")
|
112 |
+
main_ph.text("Video Transcribed Successfully!")
|
113 |
|
114 |
|
115 |
if video_query_button:
|