Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -172,7 +172,7 @@ if prompt := textinput:
|
|
172 |
with st.status("Requesting Client..."):
|
173 |
video_title, _ = get_video_title(st.session_state.youtube_url)
|
174 |
additional_context = f"Given the context about a video titled '{video_title}' available at '{st.session_state.youtube_url}'."
|
175 |
-
response = st.session_state.qa.run( prompt
|
176 |
with st.chat_message("assistant", avatar='🦙'):
|
177 |
st.markdown(response)
|
178 |
# Add assistant response to chat history
|
|
|
172 |
with st.status("Requesting Client..."):
|
173 |
video_title, _ = get_video_title(st.session_state.youtube_url)
|
174 |
additional_context = f"Given the context about a video titled '{video_title}' available at '{st.session_state.youtube_url}'."
|
175 |
+
response = st.session_state.qa.run( prompt)
|
176 |
with st.chat_message("assistant", avatar='🦙'):
|
177 |
st.markdown(response)
|
178 |
# Add assistant response to chat history
|