Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -944,7 +944,7 @@ if st.session_state.get("generated_questions"):
|
|
| 944 |
|
| 945 |
# Phase 2: Waiting to Start Recording
|
| 946 |
elif st.session_state["record_phase"] == "waiting_to_start":
|
| 947 |
-
remaining =
|
| 948 |
if remaining > 0:
|
| 949 |
st.markdown(f"<h4 class='timer-text'>⏳ {remaining} seconds to click 'Start Recording'...</h4>", unsafe_allow_html=True)
|
| 950 |
if st.button("🎙️ Start Recording"):
|
|
|
|
| 944 |
|
| 945 |
# Phase 2: Waiting to Start Recording
|
| 946 |
elif st.session_state["record_phase"] == "waiting_to_start":
|
| 947 |
+
remaining = 20 - int(elapsed)
|
| 948 |
if remaining > 0:
|
| 949 |
st.markdown(f"<h4 class='timer-text'>⏳ {remaining} seconds to click 'Start Recording'...</h4>", unsafe_allow_html=True)
|
| 950 |
if st.button("🎙️ Start Recording"):
|