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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -10
app.py CHANGED
@@ -34,8 +34,10 @@ st.markdown(
34
  border-radius: 10px;
35
  }
36
  .stMarkdown>div>p {
37
- color: #4CAF50;
38
- font-weight: bold;
 
 
39
  }
40
  .stAudio {
41
  margin-top: 20px;
@@ -151,16 +153,11 @@ if page == "Chat Asistente":
151
  st.image(mensaje["content"])
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
  )
 
34
  border-radius: 10px;
35
  }
36
  .stMarkdown>div>p {
37
+ color: black;
38
+ }
39
+ .stMarkdown>h1, .stMarkdown>h2, .stMarkdown>h3, .stMarkdown>h4, .stMarkdown>h5, .stMarkdown>h6 {
40
+ color: blue;
41
  }
42
  .stAudio {
43
  margin-top: 20px;
 
153
  st.image(mensaje["content"])
154
 
155
  st.markdown('<div class="video-container">', unsafe_allow_html=True)
 
156
  st.markdown(
157
  """
158
+ <video autoplay loop muted playsinline style="width: 100%;">
159
+ <source src="videos/Avatar los codigos de Dios.mp4" type="video/mp4>
160
+ </video>
 
 
 
 
161
  """,
162
  unsafe_allow_html=True,
163
  )