Spaces:
Running
Running
from pydoc import describe | |
import gradio | |
from main import Main | |
main = Main() | |
def parse(cv): | |
return main.parse(cv.name) | |
description = "This is a demo of the resume parser. \ | |
Upload a resume and it will return a JSON object with a detailed parsed resume data.Inspired by Sybghat/resume-parser" | |
article = "Demo of detailed resume parser" | |
file_input = gradio.inputs.File(file_count="single", type="file", label="Upload your pdf resume (en)") | |
iface = gradio.Interface(fn=parse, inputs=file_input, outputs="json", | |
title="Detailed Resume Parser", description=description, article=article) | |
iface.launch() |