Sujithanumala commited on
Commit
e14414b
·
verified ·
1 Parent(s): cf7d72c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -24,7 +24,7 @@ def read_pdf_file(file_path):
24
 
25
 
26
 
27
- def process_inputs(resume, job_description):
28
  if resume is not None:
29
  resume = read_pdf_file(resume)
30
  else:
@@ -140,12 +140,13 @@ with gr.Blocks() as demo:
140
  with gr.Column():
141
  resume = gr.File(label="Upload Resume", file_types=[".pdf"])
142
  job_description = gr.Textbox(label="Paste Job Description here", lines=5)
 
143
  submit_btn = gr.Button("Submit")
144
  with gr.Column():
145
  output = gr.Textbox(label="LaTEX Resume File", lines=10)
146
  submit_btn.click(
147
  fn=process_inputs,
148
- inputs=[resume, job_description],
149
  outputs=output
150
  )
151
 
 
24
 
25
 
26
 
27
+ def process_inputs(resume, job_description, custom_instructions):
28
  if resume is not None:
29
  resume = read_pdf_file(resume)
30
  else:
 
140
  with gr.Column():
141
  resume = gr.File(label="Upload Resume", file_types=[".pdf"])
142
  job_description = gr.Textbox(label="Paste Job Description here", lines=5)
143
+ custom_instructions = gr.Textbox(label="Just Instruct how you want it to be......!!!!", lines=5)
144
  submit_btn = gr.Button("Submit")
145
  with gr.Column():
146
  output = gr.Textbox(label="LaTEX Resume File", lines=10)
147
  submit_btn.click(
148
  fn=process_inputs,
149
+ inputs=[resume, job_description,custom_instructions],
150
  outputs=output
151
  )
152