cxumol commited on
Commit
e0f6e72
1 Parent(s): e5ff7a9

close accordin during the process

Browse files
Files changed (1) hide show
  1. app/app.py +4 -0
app/app.py CHANGED
@@ -276,6 +276,10 @@ with gr.Blocks(
276
  strong_model,
277
  ],
278
  outputs=[strong_base, strong_key, strong_model],
 
 
 
 
279
  ).success(
280
  fn=prepare_input, inputs=[jd_info, cv_file, cv_text], outputs=[jd_info, cv_text]
281
  ).success(
 
276
  strong_model,
277
  ],
278
  outputs=[strong_base, strong_key, strong_model],
279
+ ).then(
280
+ fn=lambda: gr.Accordion("AI setup (OpenAI-compatible LLM API)", open=False),
281
+ inputs=None,
282
+ outputs=[setup_zone],
283
  ).success(
284
  fn=prepare_input, inputs=[jd_info, cv_file, cv_text], outputs=[jd_info, cv_text]
285
  ).success(