Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,8 +54,3 @@ st.header("World Clock")
|
|
| 54 |
selected_timezone = st.selectbox("Select Timezone", pytz.all_timezones, index=pytz.all_timezones.index('UTC'))
|
| 55 |
current_time = datetime.now(pytz.timezone(selected_timezone))
|
| 56 |
st.write(f"Current time in {selected_timezone}: {current_time.strftime('%Y-%m-%d %H:%M:%S')}")
|
| 57 |
-
|
| 58 |
-
# Audio notification (example suggestion)
|
| 59 |
-
# Due to Streamlit's architecture, directly playing sound on the server won't be heard by the user.
|
| 60 |
-
# Instead, you could provide a button to play a sound or link to a sound file.
|
| 61 |
-
# st.audio('path_to_your_audio_file.mp3')
|
|
|
|
| 54 |
selected_timezone = st.selectbox("Select Timezone", pytz.all_timezones, index=pytz.all_timezones.index('UTC'))
|
| 55 |
current_time = datetime.now(pytz.timezone(selected_timezone))
|
| 56 |
st.write(f"Current time in {selected_timezone}: {current_time.strftime('%Y-%m-%d %H:%M:%S')}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|