Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,9 +73,9 @@ with gr.Blocks() as demo:
|
|
73 |
with gr.Column():
|
74 |
#gpt_response = gr.Audio(label="Voice Response")
|
75 |
gpt_transcript = gr.Text(label="Generate Transcript")
|
76 |
-
gpt_transcript2 = gr.Text(label="Bot Response")
|
77 |
gpt_response = gr.Audio(label="Voice Response")
|
78 |
submit_btn.click(transcribe, inputs=user_audio, outputs=gpt_transcript)
|
|
|
79 |
|
80 |
|
81 |
|
|
|
73 |
with gr.Column():
|
74 |
#gpt_response = gr.Audio(label="Voice Response")
|
75 |
gpt_transcript = gr.Text(label="Generate Transcript")
|
|
|
76 |
gpt_response = gr.Audio(label="Voice Response")
|
77 |
submit_btn.click(transcribe, inputs=user_audio, outputs=gpt_transcript)
|
78 |
+
gpt_transcript.change(giveVoice, inputs=gpt_transcript, outputs="audio")
|
79 |
|
80 |
|
81 |
|