Spaces:
Build error
Build error
Download app.py from Keshav4/resume-data-extraction: direct link, hf CLI and curl.
- Browser
- Download file 568 Bytes
-
https://huggingface.co/spaces/Keshav4/resume-data-extraction/resolve/main/app.py
- Command line
-
hf download hf://spaces/Keshav4/resume-data-extraction/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Keshav4/resume-data-extraction/resolve/main/app.py
568 Bytes
| from pydoc import describe | |
| import gradio as gr | |
| from main import Main | |
| main = Main() | |
| def parse_cv(cv): | |
| return main.parse_cv(cv.name) | |
| description = """A demo for a CV parser.""" | |
| article = "Resume Parser by Sybghat" | |
| file_input = gr.inputs.File(file_count="single", type="file", label="Upload a CV: .PDF Or .TXT", optional=False) | |
| iface = gr.Interface(fn=parse_cv, inputs=file_input, outputs="json", allow_flagging="never", | |
| allow_screenshot=False, title="CV Parser", theme="seafoam", description=description, article=article) | |
| iface.launch() |