Download app.py from XaKnee/LLMTWO: direct link, hf CLI and curl.
- Browser
- Download file 620 Bytes
-
https://huggingface.co/spaces/XaKnee/LLMTWO/resolve/main/app.py
- Command line
-
hf download hf://spaces/XaKnee/LLMTWO/app.py
-
curl -L -o app.py https://huggingface.co/spaces/XaKnee/LLMTWO/resolve/main/app.py
620 Bytes
| 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() | |