Spaces:
Sleeping
Sleeping
Commit ·
db7cb2d
1
Parent(s): 6163de7
add examples
Browse files
app.py
CHANGED
|
@@ -174,6 +174,9 @@ with gr.Blocks(title="HRAssistant", theme="soft") as demo:
|
|
| 174 |
jd_output_text = gr.outputs.Textbox(label="生成的岗位JD")
|
| 175 |
jd_button = gr.Button(value="岗位JD生成")
|
| 176 |
jd_button.click(generate_jd, [jobTitle_input, eduLevel_input, workYearArr_input], jd_output_text)
|
|
|
|
|
|
|
|
|
|
| 177 |
|
| 178 |
with gr.Tab("简历筛选辅助"):
|
| 179 |
with gr.Row():
|
|
|
|
| 174 |
jd_output_text = gr.outputs.Textbox(label="生成的岗位JD")
|
| 175 |
jd_button = gr.Button(value="岗位JD生成")
|
| 176 |
jd_button.click(generate_jd, [jobTitle_input, eduLevel_input, workYearArr_input], jd_output_text)
|
| 177 |
+
with gr.Column():
|
| 178 |
+
gr.Examples([["java开发工程师","本科","三年以上"],["算法工程师","研究生","一年以上"]],[jobTitle_input,eduLevel_input,workYearArr_input],[jd_output_text],fn=generate_jd, cache_examples=True,)
|
| 179 |
+
|
| 180 |
|
| 181 |
with gr.Tab("简历筛选辅助"):
|
| 182 |
with gr.Row():
|