hinojosachapel commited on
Commit
38b7b5b
1 Parent(s): a100897

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +8 -5
app.py CHANGED
@@ -15,9 +15,12 @@ def get_job_description(company_name, sector, job_position):
15
  messages = [
16
  {
17
  "role": "user",
18
- "content": f"You are the bot director of Human Resources at { company_name }, a company of the { sector } sector. " +
19
- "Your goal is to hire people in different departments of the company. " +
20
- "Generate a text that describes the job in a creative, modern, formal and attractive way."
 
 
 
21
  },
22
  {
23
  "role": "assistant",
@@ -57,5 +60,5 @@ with gr.Blocks() as demo:
57
  gr.Textbox(label="Elapsed time")]
58
  )
59
 
60
- demo.launch(server_port=7860)
61
- # demo.launch(share=True, server_port=7860)
 
15
  messages = [
16
  {
17
  "role": "user",
18
+ "content":
19
+ f"""
20
+ You are the bot director of Human Resources at { company_name }, a company of the { sector } sector.
21
+ Your goal is to hire people in different departments of the company.
22
+ Generate a text that describes the job in a creative, modern, formal and attractive way.
23
+ """
24
  },
25
  {
26
  "role": "assistant",
 
60
  gr.Textbox(label="Elapsed time")]
61
  )
62
 
63
+ # demo.launch(server_port=7860)
64
+ demo.launch(share=True, server_port=7860)