File size: 620 Bytes
1b62292
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import gradio as gr
from tailor import tailor_resume

def generate(resume, job_desc):
    return tailor_resume(resume, job_desc)

iface = gr.Interface(
    fn=generate,
    inputs=[
        gr.Textbox(label="Paste Resume", lines=20, placeholder="Your resume text here"),
        gr.Textbox(label="Paste Job Description", lines=20, placeholder="Job description here")
    ],
    outputs=gr.Textbox(label="Tailored Resume", lines=20),
    title="LLM Resume Tailor (Free CPU Version)",
    description="Tailor your resume to match a job description using a lightweight LLM"
)

if __name__ == "__main__":
    iface.launch()