Update app.py
Browse files
app.py
CHANGED
@@ -1942,15 +1942,9 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
1942 |
return gr.update(), gr.update(), tts_future_obj
|
1943 |
|
1944 |
start_interview_final_btn.click(
|
1945 |
-
start_interview_immediate,
|
1946 |
-
[user_data],
|
1947 |
-
[interview_state,
|
1948 |
-
).then(
|
1949 |
-
# Check TTS status every 500ms
|
1950 |
-
check_tts_ready,
|
1951 |
-
[interview_state, tts_future],
|
1952 |
-
[question_audio, loading_status, tts_future],
|
1953 |
-
every=0.5
|
1954 |
)
|
1955 |
|
1956 |
def transcribe(audio_path):
|
|
|
1942 |
return gr.update(), gr.update(), tts_future_obj
|
1943 |
|
1944 |
start_interview_final_btn.click(
|
1945 |
+
start_interview_immediate,
|
1946 |
+
[user_data],
|
1947 |
+
[interview_state, interview_pre_section, interview_section, question_audio, question_text]
|
|
|
|
|
|
|
|
|
|
|
|
|
1948 |
)
|
1949 |
|
1950 |
def transcribe(audio_path):
|