VanYsa commited on
Commit
c3f6601
·
1 Parent(s): 21d3f6f

Update fully working MyAlexa app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -248,7 +248,7 @@ with gr.Blocks(
248
  interactive=False,
249
  placeholder="Transcribed text will appear here.",
250
  elem_id="chat_input",
251
- visible=True # set to True to see processing time of asr transcription
252
  )
253
 
254
  gr.HTML("<p><b>Step 3 [Optional]:</b> Replay MyAlexa's voice response.</p>")
@@ -257,7 +257,7 @@ with gr.Blocks(
257
  value = None,
258
  label="Response Voice Player",
259
  show_label=True,
260
- visible=True # set to True to see processing time of tts audio generation
261
  )
262
 
263
  chat_msg = chat_input.change(add_message, [chatbot, chat_input], [chatbot], api_name="add_message_in_chatbot")
 
248
  interactive=False,
249
  placeholder="Transcribed text will appear here.",
250
  elem_id="chat_input",
251
+ visible=False # set to True to see processing time of asr transcription
252
  )
253
 
254
  gr.HTML("<p><b>Step 3 [Optional]:</b> Replay MyAlexa's voice response.</p>")
 
257
  value = None,
258
  label="Response Voice Player",
259
  show_label=True,
260
+ visible=False # set to True to see processing time of initial tts audio generation
261
  )
262
 
263
  chat_msg = chat_input.change(add_message, [chatbot, chat_input], [chatbot], api_name="add_message_in_chatbot")