Spaces:
Sleeping
Sleeping
theme change
Browse files
app.py
CHANGED
@@ -565,9 +565,9 @@ def process_resume(api_key, job_url, company_name, resume_pdf):
|
|
565 |
return error_msg, []
|
566 |
|
567 |
# Build Gradio UI
|
568 |
-
with gr.Blocks() as demo:
|
569 |
gr.Markdown("# π€ AI Resume Optimizer π")
|
570 |
-
gr.Markdown("
|
571 |
|
572 |
api_key = gr.Textbox(label="π OpenAI API Key", placeholder="Enter your API Key securely")
|
573 |
job_url = gr.Textbox(label="π Job URL", placeholder="Paste job listing URL here")
|
@@ -575,9 +575,10 @@ with gr.Blocks() as demo:
|
|
575 |
resume_pdf = gr.File(label="π Upload Resume (PDF Only)")
|
576 |
|
577 |
output = gr.Textbox(label="π AI Suggestions / Errors", interactive=True)
|
|
|
|
|
578 |
output_files = gr.File(label="π Download Processed Files", interactive=True)
|
579 |
|
580 |
-
btn = gr.Button("Optimize Resume")
|
581 |
btn.click(process_resume, inputs=[api_key, job_url, company_name, resume_pdf], outputs=[output, output_files])
|
582 |
|
583 |
# Launch the UI
|
|
|
565 |
return error_msg, []
|
566 |
|
567 |
# Build Gradio UI
|
568 |
+
with gr.Blocks(theme=gr.themes.Soft() ) as demo:
|
569 |
gr.Markdown("# π€ AI Resume Optimizer π")
|
570 |
+
gr.Markdown("")
|
571 |
|
572 |
api_key = gr.Textbox(label="π OpenAI API Key", placeholder="Enter your API Key securely")
|
573 |
job_url = gr.Textbox(label="π Job URL", placeholder="Paste job listing URL here")
|
|
|
575 |
resume_pdf = gr.File(label="π Upload Resume (PDF Only)")
|
576 |
|
577 |
output = gr.Textbox(label="π AI Suggestions / Errors", interactive=True)
|
578 |
+
btn = gr.Button("Optimize Resume")
|
579 |
+
|
580 |
output_files = gr.File(label="π Download Processed Files", interactive=True)
|
581 |
|
|
|
582 |
btn.click(process_resume, inputs=[api_key, job_url, company_name, resume_pdf], outputs=[output, output_files])
|
583 |
|
584 |
# Launch the UI
|