IliaLarchenko commited on
Commit
3d5967b
1 Parent(s): 453b658

Added elem_id to statuses

Browse files
Files changed (1) hide show
  1. ui/instructions.py +3 -3
ui/instructions.py CHANGED
@@ -18,13 +18,13 @@ def get_instructions_ui(llm, tts, stt, default_audio_params):
18
  space = " " * 10
19
 
20
  tts_status = get_status_color(tts)
21
- gr.Markdown(f"TTS status: {tts_status}{space}{tts.config.tts.name}")
22
 
23
  stt_status = get_status_color(stt)
24
- gr.Markdown(f"STT status: {stt_status}{space}{stt.config.stt.name}")
25
 
26
  llm_status = get_status_color(llm)
27
- gr.Markdown(f"LLM status: {llm_status}{space}{llm.config.llm.name}")
28
 
29
  gr.Markdown(instruction["quick_start"])
30
  with gr.Row():
 
18
  space = " " * 10
19
 
20
  tts_status = get_status_color(tts)
21
+ gr.Markdown(f"TTS status: {tts_status}{space}{tts.config.tts.name}", elem_id="tts_status")
22
 
23
  stt_status = get_status_color(stt)
24
+ gr.Markdown(f"STT status: {stt_status}{space}{stt.config.stt.name}", elem_id="stt_status")
25
 
26
  llm_status = get_status_color(llm)
27
+ gr.Markdown(f"LLM status: {llm_status}{space}{llm.config.llm.name}", elem_id="llm_status")
28
 
29
  gr.Markdown(instruction["quick_start"])
30
  with gr.Row():