File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 124124 else :
125125 color = "#FF0000"
126126 text = f"Server Error ({ res .status_code } )"
127- audio_url = "https://github.com/haroontrailblazer/MomentoMonto/blob/main/error.mp3"
127+ audio_url = "https://github.com/haroontrailblazer/MomentoMonto/blob/main/error.mp3?raw=true "
128128 audio_html = f"""<audio src="{ audio_url } " autoplay hidden></audio>"""
129129 audio_stat .markdown (audio_html , unsafe_allow_html = True )
130130 response_time = 0
136136 except Exception :
137137 color = "#FF0000"
138138 text = "Server Down"
139- audio_url = "https://github.com/haroontrailblazer/MomentoMonto/blob/main/error.mp3"
139+ audio_url = "https://github.com/haroontrailblazer/MomentoMonto/blob/main/error.mp3?raw=true "
140140 audio_html = f"""<audio src="{ audio_url } " autoplay hidden></audio>"""
141141 audio_stat .markdown (audio_html , unsafe_allow_html = True )
142142 response_time = 0
186186 progress_value = 50
187187 elif response_time >= 500 :
188188 progress_value = 25
189+
190+ # Update Progress Bar
189191 bar_placeholder .progress (progress_value )
190192
191193
You can’t perform that action at this time.
0 commit comments