Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,8 +71,6 @@ with gr.Blocks() as demo:
|
|
| 71 |
label=f"Description #{i+1}"
|
| 72 |
)
|
| 73 |
|
| 74 |
-
json_display = gr.JSON(value=initial_parsing, label="Parsing Categories")
|
| 75 |
-
update_json_button = gr.Button("Update Parsing")
|
| 76 |
update_json_button.click(update_json, inputs=[json_display, name, data_type, desc], outputs=json_display)
|
| 77 |
|
| 78 |
# resumes_list.append(
|
|
@@ -100,12 +98,15 @@ with gr.Blocks() as demo:
|
|
| 100 |
|
| 101 |
add_resume_btn = gr.Button("➕ Add Another Category")
|
| 102 |
add_resume_btn.click(lambda x: x + 1, resume_count, resume_count)
|
|
|
|
|
|
|
| 103 |
|
| 104 |
with gr.Column():
|
|
|
|
| 105 |
job_description = gr.Textbox(
|
| 106 |
lines=8,
|
| 107 |
placeholder="Paste Resume here...",
|
| 108 |
-
label="
|
| 109 |
)
|
| 110 |
|
| 111 |
# output = gr.Textbox(
|
|
|
|
| 71 |
label=f"Description #{i+1}"
|
| 72 |
)
|
| 73 |
|
|
|
|
|
|
|
| 74 |
update_json_button.click(update_json, inputs=[json_display, name, data_type, desc], outputs=json_display)
|
| 75 |
|
| 76 |
# resumes_list.append(
|
|
|
|
| 98 |
|
| 99 |
add_resume_btn = gr.Button("➕ Add Another Category")
|
| 100 |
add_resume_btn.click(lambda x: x + 1, resume_count, resume_count)
|
| 101 |
+
|
| 102 |
+
update_json_button = gr.Button("Update Parsing")
|
| 103 |
|
| 104 |
with gr.Column():
|
| 105 |
+
json_display = gr.JSON(value=initial_parsing, label="Parsing Categories")
|
| 106 |
job_description = gr.Textbox(
|
| 107 |
lines=8,
|
| 108 |
placeholder="Paste Resume here...",
|
| 109 |
+
label="CV / Resume"
|
| 110 |
)
|
| 111 |
|
| 112 |
# output = gr.Textbox(
|