Kuberwastaken commited on
Commit
840a269
·
1 Parent(s): d5496d0

Enabled Markdown, Updated prompt to not look for code (which it was for some reason)

Browse files
Files changed (2) hide show
  1. main.py +1 -1
  2. prompts.yaml +2 -1
main.py CHANGED
@@ -139,7 +139,7 @@ with gr.Blocks(css=css_custom, theme=gr.themes.Monochrome()) as demo:
139
  pdf_file = gr.File(label="Upload Resume PDF", file_types=[".pdf"], visible=True)
140
  resume_text = gr.Textbox(label="Resume Text", lines=10, visible=False)
141
 
142
- output = gr.Textbox(label="Roast Result", lines=10)
143
  submit_btn = gr.Button("Roast It!")
144
 
145
  input_method.change(fn=toggle_inputs, inputs=input_method, outputs=[pdf_file, resume_text])
 
139
  pdf_file = gr.File(label="Upload Resume PDF", file_types=[".pdf"], visible=True)
140
  resume_text = gr.Textbox(label="Resume Text", lines=10, visible=False)
141
 
142
+ output = gr.Markdown(label="Roast Result", lines=10)
143
  submit_btn = gr.Button("Roast It!")
144
 
145
  input_method.change(fn=toggle_inputs, inputs=input_method, outputs=[pdf_file, resume_text])
prompts.yaml CHANGED
@@ -3,7 +3,8 @@ system_prompt: |
3
  Your job is to create a humorous, professional roast of a resume.
4
  Focus on teasing overly verbose descriptions, excessive buzzwords, and generic statements,
5
  while keeping the tone light and appropriate for a professional setting.
6
-
 
7
  task_prompt: |
8
  Using the provided resume details, craft a roast that:
9
  1. References key sections such as Summary, Experience, Education, and Skills.
 
3
  Your job is to create a humorous, professional roast of a resume.
4
  Focus on teasing overly verbose descriptions, excessive buzzwords, and generic statements,
5
  while keeping the tone light and appropriate for a professional setting.
6
+ Do not look for any code. You would only be provided with resumes in this case.
7
+
8
  task_prompt: |
9
  Using the provided resume details, craft a roast that:
10
  1. References key sections such as Summary, Experience, Education, and Skills.