IliaLarchenko commited on
Commit
166b0a2
1 Parent(s): 1f19f64

Small UI change

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -140,13 +140,11 @@ with gr.Blocks(title="AI Interviewer") as demo:
140
 
141
  start_btn.click(fn=add_interviewer_message(fixed_messages["start"]), inputs=[chat], outputs=[chat]).then(
142
  fn=lambda: True, outputs=[started_coding]
143
- ).then(
144
  fn=llm.get_problem,
145
  inputs=[requirements, difficulty_select, topic_select],
146
  outputs=[description, chat_history],
147
  scroll_to_output=True,
148
- ).then(
149
- fn=hide_settings, outputs=[init_acc, start_btn]
150
  ).then(
151
  fn=show_solution, outputs=[solution_acc, end_btn, audio_input]
152
  )
 
140
 
141
  start_btn.click(fn=add_interviewer_message(fixed_messages["start"]), inputs=[chat], outputs=[chat]).then(
142
  fn=lambda: True, outputs=[started_coding]
143
+ ).then(fn=hide_settings, outputs=[init_acc, start_btn]).then(
144
  fn=llm.get_problem,
145
  inputs=[requirements, difficulty_select, topic_select],
146
  outputs=[description, chat_history],
147
  scroll_to_output=True,
 
 
148
  ).then(
149
  fn=show_solution, outputs=[solution_acc, end_btn, audio_input]
150
  )