pankajrajdeo commited on
Commit
a0768ff
·
1 Parent(s): be16381

Update app.py: adjust file handling and UI for resume optimization

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -166,8 +166,14 @@ model_choices = {
166
  with gr.Blocks(css=".output-column { width: 700px; }") as demo:
167
  with gr.Row():
168
  # Left pane: Input fields
169
- with gr.Column(scale=1): # Scale set to an integer to avoid warnings
170
  gr.Markdown("## Resume Optimization System")
 
 
 
 
 
 
171
  openai_api_key_input = gr.Textbox(label="OpenAI API Key", type="password", placeholder="Enter OpenAI API Key")
172
  serper_api_key_input = gr.Textbox(label="Serper API Key", type="password", placeholder="Enter Serper API Key")
173
  model_dropdown = gr.Dropdown(
@@ -181,6 +187,7 @@ with gr.Blocks(css=".output-column { width: 700px; }") as demo:
181
  company_name_text = gr.Textbox(label="Company Name", placeholder="Enter company name")
182
  job_url_text = gr.Textbox(label="Job URL", placeholder="Enter job posting URL")
183
  run_button = gr.Button("Run")
 
184
 
185
  # Right pane: Output display
186
  with gr.Column(scale=2, elem_classes="output-column"): # Scale set to an integer to avoid warnings
 
166
  with gr.Blocks(css=".output-column { width: 700px; }") as demo:
167
  with gr.Row():
168
  # Left pane: Input fields
169
+ with gr.Column(scale=1):
170
  gr.Markdown("## Resume Optimization System")
171
+ gr.Markdown(
172
+ "Create an optimized resume, job research report, and interview question sheet "
173
+ "by simply uploading your resume, entering the company name, and providing the job posting URL. "
174
+ "This tool leverages AI and web search to analyze job descriptions, research the company, and "
175
+ "tailor your resume for better ATS compatibility and job relevance."
176
+ )
177
  openai_api_key_input = gr.Textbox(label="OpenAI API Key", type="password", placeholder="Enter OpenAI API Key")
178
  serper_api_key_input = gr.Textbox(label="Serper API Key", type="password", placeholder="Enter Serper API Key")
179
  model_dropdown = gr.Dropdown(
 
187
  company_name_text = gr.Textbox(label="Company Name", placeholder="Enter company name")
188
  job_url_text = gr.Textbox(label="Job URL", placeholder="Enter job posting URL")
189
  run_button = gr.Button("Run")
190
+
191
 
192
  # Right pane: Output display
193
  with gr.Column(scale=2, elem_classes="output-column"): # Scale set to an integer to avoid warnings