Spaces:
Runtime error
Runtime error
Karthikeyan
commited on
Commit
·
8b51410
1
Parent(s):
6feed85
Update app.py
Browse files
app.py
CHANGED
@@ -77,6 +77,7 @@ class ResumeAnalyser:
|
|
77 |
for line in lines:
|
78 |
if line.startswith('Matched Percentage:'):
|
79 |
match = re.search(r"Matched Percentage: (\d+)%", line)
|
|
|
80 |
if match:
|
81 |
matched_percentage = int(match.group(1))
|
82 |
elif line.startswith('Reason'):
|
@@ -99,7 +100,7 @@ class ResumeAnalyser:
|
|
99 |
# fig.update_layout(title='Matched Percentage')
|
100 |
|
101 |
|
102 |
-
return
|
103 |
|
104 |
|
105 |
def gradio_interface(self):
|
|
|
77 |
for line in lines:
|
78 |
if line.startswith('Matched Percentage:'):
|
79 |
match = re.search(r"Matched Percentage: (\d+)%", line)
|
80 |
+
print(match)
|
81 |
if match:
|
82 |
matched_percentage = int(match.group(1))
|
83 |
elif line.startswith('Reason'):
|
|
|
100 |
# fig.update_layout(title='Matched Percentage')
|
101 |
|
102 |
|
103 |
+
return match,reason, skills_to_improve, keywords,fig
|
104 |
|
105 |
|
106 |
def gradio_interface(self):
|