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()