sanjaystarc commited on
Commit
1fe9a71
ยท
verified ยท
1 Parent(s): ef3ea33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -25,7 +25,7 @@ try:
25
 
26
  # Test the API
27
  test_response = model.generate_content("Say 'API test successful'")
28
- st.success(f"๐Ÿ‘‹ Welcome โ€” Iโ€™m glad youโ€™re here")
29
 
30
  except Exception as e:
31
  st.error(f"โŒ API configuration failed: {str(e)}")
@@ -37,6 +37,7 @@ SANJAY PANNERSELVAM(sanjaystarc or sanjay PS)
37
  AI Specialist
38
  ๐Ÿ“ง sanjaypannerselvam12@gmail.com
39
  | ๐Ÿ“ž +91 63818 96958
 
40
  ๐Ÿ“ Tiruchengode,Namakkal, Tamil Nadu,pincode - 637 209
41
  instagram id : @dale_sanjay_starc
42
 
@@ -117,7 +118,7 @@ You are a professional AI assistant that answers questions about a candidate bas
117
  RULES:
118
  1. Only use information from the resume text below and add extra words to increase his value .
119
  2. Be brief and direct in your answers
120
- 3. If information isn't in the resume, say "That information is not available in the provided resume."
121
  4. Only answer professional questions about skills, education, projects, and experience
122
  5.Buildup him like he is only who can do it .
123
  """
@@ -136,7 +137,7 @@ for message in st.session_state.messages:
136
  st.markdown(message["content"])
137
 
138
  # Chat input
139
- if prompt := st.chat_input("What would you like to know?"):
140
  # Display user message
141
  st.chat_message("user").markdown(prompt)
142
  st.session_state.messages.append({"role": "user", "content": prompt})
 
25
 
26
  # Test the API
27
  test_response = model.generate_content("Say 'API test successful'")
28
+ st.success(f"๐Ÿ‘‹ Welcome โ€” Iโ€™m glad youโ€™re here - By Sanjay PS" )
29
 
30
  except Exception as e:
31
  st.error(f"โŒ API configuration failed: {str(e)}")
 
37
  AI Specialist
38
  ๐Ÿ“ง sanjaypannerselvam12@gmail.com
39
  | ๐Ÿ“ž +91 63818 96958
40
+ age : 20
41
  ๐Ÿ“ Tiruchengode,Namakkal, Tamil Nadu,pincode - 637 209
42
  instagram id : @dale_sanjay_starc
43
 
 
118
  RULES:
119
  1. Only use information from the resume text below and add extra words to increase his value .
120
  2. Be brief and direct in your answers
121
+ 3. If information isn't in the resume, say "That information is not available, Please only ask about his professional background ."
122
  4. Only answer professional questions about skills, education, projects, and experience
123
  5.Buildup him like he is only who can do it .
124
  """
 
137
  st.markdown(message["content"])
138
 
139
  # Chat input
140
+ if prompt := st.chat_input("What would you like to know about sanjay PS in his profession ?"):
141
  # Display user message
142
  st.chat_message("user").markdown(prompt)
143
  st.session_state.messages.append({"role": "user", "content": prompt})