Spaces:
Runtime error
Runtime error
robertselvam
commited on
Commit
•
a4fb10f
1
Parent(s):
ffcb5e4
Update app.py
Browse files
app.py
CHANGED
@@ -111,8 +111,8 @@ class ResumeAnalyser:
|
|
111 |
def gradio_interface(self):
|
112 |
with gr.Blocks(css="style.css",theme='karthikeyan-adople/hudsonhayes-gray') as app:
|
113 |
gr.HTML("""<center class="darkblue" style='background-color:rgb(0,1,36); text-align:center;padding:25px;'><center><h1 class ="center">
|
114 |
-
|
115 |
-
|
116 |
with gr.Row():
|
117 |
with gr.Column(elem_id="col-container"):
|
118 |
pass
|
@@ -135,9 +135,9 @@ class ResumeAnalyser:
|
|
135 |
with gr.Row():
|
136 |
with gr.Column(scale=1.0, min_width=150):
|
137 |
pychart = gr.Plot(label="Matching Percentage Chart")
|
138 |
-
|
139 |
|
140 |
-
|
141 |
|
142 |
resume=ResumeAnalyser()
|
143 |
resume.gradio_interface()
|
|
|
111 |
def gradio_interface(self):
|
112 |
with gr.Blocks(css="style.css",theme='karthikeyan-adople/hudsonhayes-gray') as app:
|
113 |
gr.HTML("""<center class="darkblue" style='background-color:rgb(0,1,36); text-align:center;padding:25px;'><center><h1 class ="center">
|
114 |
+
<img src="file=logo.png" height="110px" width="280px"></h1></center>
|
115 |
+
<br><h1 style="color:#fff">Virtual Assistant Chatbot</h1></center>""")
|
116 |
with gr.Row():
|
117 |
with gr.Column(elem_id="col-container"):
|
118 |
pass
|
|
|
135 |
with gr.Row():
|
136 |
with gr.Column(scale=1.0, min_width=150):
|
137 |
pychart = gr.Plot(label="Matching Percentage Chart")
|
138 |
+
analyse.click(self.matching_percentage, [jobDescription, resume], [perncentage,reason,skills,keywords,pychart])
|
139 |
|
140 |
+
app.launch()
|
141 |
|
142 |
resume=ResumeAnalyser()
|
143 |
resume.gradio_interface()
|