robertselvam commited on
Commit
8940745
1 Parent(s): 06ad49c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -145,7 +145,7 @@ class Resume_Overall:
145
 
146
  def launch_gradio_interface(self, share: bool = True):
147
  with gr.Blocks(css="style.css",theme='karthikeyan-adople/hudsonhayes-gray') as app:
148
- with gr.Tabs("Resume"):
149
  with gr.Row():
150
  with gr.Column(elem_id="col-container"):
151
  gr.HTML("""<center><h1>Resume</h1></center>""")
@@ -153,7 +153,7 @@ class Resume_Overall:
153
  upload_button = gr.UploadButton(
154
  "Browse File",file_types=[".txt", ".pdf", ".doc", ".docx",".json",".csv"],
155
  elem_classes="uploadbutton")
156
- with gr.Row():
157
  with gr.TabItem("Designation"):
158
  btn = gr.Button(value="Submit")
159
  output_text = gr.Textbox(label="Designation List")
@@ -173,14 +173,14 @@ class Resume_Overall:
173
  btn.click(self.job_list_interface, upload_button, output_text)
174
  analyse.click(self.summary_response, [upload_button], summary_result)
175
 
176
- with gr.Tabs("Job Description"):
177
  with gr.Row():
178
  with gr.Column(elem_id="col-container"):
179
  gr.HTML("""<center><h1>Resume</h1></center>""")
180
  file_output1 = gr.File(elem_classes="filenameshow")
181
  upload_button1 = gr.UploadButton(
182
  "Browse File",file_types=[".txt", ".pdf", ".doc", ".docx",".json",".csv"],
183
- elem_classes="filenameshow")
184
  with gr.Row():
185
  with gr.TabItem("Designation"):
186
  btn1 = gr.Button(value="Submit")
 
145
 
146
  def launch_gradio_interface(self, share: bool = True):
147
  with gr.Blocks(css="style.css",theme='karthikeyan-adople/hudsonhayes-gray') as app:
148
+ with gr.Tab("Resume"):
149
  with gr.Row():
150
  with gr.Column(elem_id="col-container"):
151
  gr.HTML("""<center><h1>Resume</h1></center>""")
 
153
  upload_button = gr.UploadButton(
154
  "Browse File",file_types=[".txt", ".pdf", ".doc", ".docx",".json",".csv"],
155
  elem_classes="uploadbutton")
156
+ with gr.Row("col-container"):
157
  with gr.TabItem("Designation"):
158
  btn = gr.Button(value="Submit")
159
  output_text = gr.Textbox(label="Designation List")
 
173
  btn.click(self.job_list_interface, upload_button, output_text)
174
  analyse.click(self.summary_response, [upload_button], summary_result)
175
 
176
+ with gr.Tab("Job Description"):
177
  with gr.Row():
178
  with gr.Column(elem_id="col-container"):
179
  gr.HTML("""<center><h1>Resume</h1></center>""")
180
  file_output1 = gr.File(elem_classes="filenameshow")
181
  upload_button1 = gr.UploadButton(
182
  "Browse File",file_types=[".txt", ".pdf", ".doc", ".docx",".json",".csv"],
183
+ elem_classes="uploadbutton")
184
  with gr.Row():
185
  with gr.TabItem("Designation"):
186
  btn1 = gr.Button(value="Submit")