Josedcape commited on
Commit
09de4bb
·
verified ·
1 Parent(s): aadd067

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -152,6 +152,18 @@ if page == "Chat Asistente":
152
 
153
  st.markdown('<div class="video-container">', unsafe_allow_html=True)
154
  st.video("videos/Avatar codigos de Dios.mp4", start_time=0)
 
 
 
 
 
 
 
 
 
 
 
 
155
  st.markdown('</div>', unsafe_allow_html=True)
156
 
157
  pregunta_usuario = st.text_input("Escribe tu pregunta sobre la Biblia:", key="pregunta_input")
 
152
 
153
  st.markdown('<div class="video-container">', unsafe_allow_html=True)
154
  st.video("videos/Avatar codigos de Dios.mp4", start_time=0)
155
+ st.markdown(
156
+ """
157
+ <script>
158
+ document.addEventListener('DOMContentLoaded', function() {
159
+ var video = document.querySelector('video');
160
+ video.muted = true;
161
+ video.play();
162
+ });
163
+ </script>
164
+ """,
165
+ unsafe_allow_html=True,
166
+ )
167
  st.markdown('</div>', unsafe_allow_html=True)
168
 
169
  pregunta_usuario = st.text_input("Escribe tu pregunta sobre la Biblia:", key="pregunta_input")