KrishGoyani commited on
Commit
7bc96ac
Β·
verified Β·
1 Parent(s): 509fe92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +64 -0
app.py CHANGED
@@ -86,6 +86,46 @@ h1 {
86
 
87
 
88
  with gr.Blocks(css=custom_css) as demo:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  gr.HTML("<h1>AI-Powered Resume Parser</h1>")
90
  gr.HTML("<p style='text-align: center;'>This application extracts important data from your resume using innovative NLP methods. This tool's key advantage is that, in contrast to conventional resume parsers, it is generalized(Thanks to GLiNER team), meaning it functions in accordance with your needs. Simply enter the labels (NER) that you wish to extract, then adjust the threshold and submit the resume. Magic will happen in a few seconds.</p>")
91
 
@@ -123,7 +163,31 @@ with gr.Blocks(css=custom_css) as demo:
123
  parse_button.click(fn=parser, inputs=[file_input,labels, threshold], outputs=output)
124
 
125
  gr.HTML("<p style='text-align: center;'>Our resume parser can identify and extract important details such as personal information, education, work experience, skills, and more. Simply upload your resume and let our AI do the work!</p>")
 
 
 
 
 
126
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  # Launch the interface
128
  demo.queue()
129
  demo.launch(share=True, debug=True)
 
86
 
87
 
88
  with gr.Blocks(css=custom_css) as demo:
89
+ #home page
90
+ with gr.Tab("Home"):
91
+ # Title and Description
92
+ gr.Markdown("""
93
+ # πŸ“ **Resume Parser with GLiNER Model** πŸ“
94
+
95
+ **Welcome!** This project is a **resume parser** designed to make the process of extracting important information from resumes easy and efficient. It uses a **generalized approach** to recognize and parse key details like **name**, **email**, **profession**, and more from different resume formats.
96
+
97
+ By leveraging the **GLiNER model** for **Named Entity Recognition (NER)** and the power of **Hugging Face**, this tool ensures accurate and fast resume data extraction. It's perfect for **recruiters**, **HR professionals**, and **data analysts** who want to streamline their workflows.
98
+ """)
99
+ # Use Cases Section
100
+ gr.Markdown("""
101
+ ## 🎯 **Use Cases**:
102
+ 1. **Recruiters**: Automatically extract and store candidate information from resumes.
103
+ 2. **HR Professionals**: Parse bulk resumes to organize important information quickly.
104
+ 3. **Data Analysts**: Analyze trends in candidate attributes for better decision-making.
105
+ 4. **Job Boards**: Categorize and structure resume submissions automatically.
106
+ """, elem_classes=["use-cases"])
107
+
108
+ # Technologies Used Section
109
+ gr.Markdown("""
110
+ ## πŸ’» **Technologies Used**:
111
+ - **Python** 🐍: Backend logic and automation.
112
+ - **Hugging Face** πŸ€—: Model hosting and integration.
113
+ - **GLiNER** 🧠: Named Entity Recognition model used to extract structured data.
114
+ """, elem_classes=["technologies"])
115
+
116
+ # Another Image Placeholder for Technologies Used
117
+ #gr.Image("technologies_image_here.png", label="Technologies Used")
118
+
119
+ # Footer or Additional Information
120
+ gr.Markdown("""
121
+ ### 🌟 **Additional Information**:
122
+ This project is scalable and can be integrated into various systems like **ATS (Applicant Tracking Systems)**, job boards, and recruitment platforms. It's designed to handle **diverse resume formats** and ensures that all critical information is captured with **high accuracy**.
123
+
124
+ Start **automating your workflow** and let this parser do the heavy lifting! πŸš€
125
+ """, elem_classes=["additional-info"])
126
+
127
+ # app page
128
+ with gr.Tab("Resume Parser"):
129
  gr.HTML("<h1>AI-Powered Resume Parser</h1>")
130
  gr.HTML("<p style='text-align: center;'>This application extracts important data from your resume using innovative NLP methods. This tool's key advantage is that, in contrast to conventional resume parsers, it is generalized(Thanks to GLiNER team), meaning it functions in accordance with your needs. Simply enter the labels (NER) that you wish to extract, then adjust the threshold and submit the resume. Magic will happen in a few seconds.</p>")
131
 
 
163
  parse_button.click(fn=parser, inputs=[file_input,labels, threshold], outputs=output)
164
 
165
  gr.HTML("<p style='text-align: center;'>Our resume parser can identify and extract important details such as personal information, education, work experience, skills, and more. Simply upload your resume and let our AI do the work!</p>")
166
+
167
+ # contact us
168
+ with gr.Tab("Contact"):
169
+ gr.Markdown("""
170
+ # πŸ“§ **Contact Krish Goyani** πŸ“§
171
 
172
+ I am happy to accept your feedback and suggestions! Feel free to reach out using the details below.
173
+ """)
174
+
175
+ # Contact Information
176
+ with gr.Row(): # Changed from gr.Box to gr.Row
177
+ gr.Markdown("""
178
+ ## πŸ§‘ **Krish Goyani**
179
+ - **Email**: [email protected]
180
+ - **Potfolio**: [Krish Goyani](https://www.datascienceportfol.io/Krish_Goyani)
181
+ - **LinkedIn**: [Krish Goyani](https://www.linkedin.com/in/krish-goyani/)
182
+ - **GitHub**: [github.com/krish-goyani](https://github.com/Krish-Goyani)
183
+ """)
184
+
185
+ # Message
186
+ gr.Markdown("""
187
+ Thank you for visiting my page. I'm always open to hearing from you. Feel free to share any suggestions or feedback, and I'll get back to you as soon as possible! ✨
188
+ """)
189
+
190
+
191
  # Launch the interface
192
  demo.queue()
193
  demo.launch(share=True, debug=True)