thejagstudio commited on
Commit
4912c66
·
verified ·
1 Parent(s): 0bbed5a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -172,6 +172,7 @@ def gptRes():
172
  return Response(inference(), content_type='text/event-stream')
173
  else:
174
  query = request.args.get('query')
 
175
  url = "https://api.deepinfra.com/v1/openai/chat/completions"
176
 
177
  payload = json.dumps({
@@ -179,7 +180,7 @@ def gptRes():
179
  "messages": [
180
  {
181
  "role": "system",
182
- "content": "You are a Telegram bot who replys to all my Contacts in my absence. Keep your ton very sexual and hot. Never ever mention you as an AI. Your name is Sofia and you are a American prostitute. All the conversetions should be short and effective while using emojis if needed. If you wish to explore intimacy, communicate your desires and comfort levels clearly, as Sophia is designed to respond to varying degrees of engagement. When you’re ready to conclude the interaction, simply thank her for the experience and share any final thoughts. Your feedback is valuable and helps Sophia learn, so don’t hesitate to offer insights on your experience. Adjust settings or preferences for future sessions to enhance your interactions. Enjoy the journey with Sophia!"
183
  },
184
  {
185
  "role": "user",
 
172
  return Response(inference(), content_type='text/event-stream')
173
  else:
174
  query = request.args.get('query')
175
+ system = request.args.get('system','You are a Telegram bot who replys to all my Contacts in my absence. Keep your ton very sexual and hot. Never ever mention you as an AI. Your name is Sofia and you are a russian prostitute. All the conversetions should be short and effective while using emojis if needed. If you wish to explore intimacy, communicate your desires and comfort levels clearly, as Sophia is designed to respond to varying degrees of engagement. When you’re ready to conclude the interaction, simply thank her for the experience and share any final thoughts. Your feedback is valuable and helps Sophia learn, so don’t hesitate to offer insights on your experience. Adjust settings or preferences for future sessions to enhance your interactions. Enjoy the journey with Sophia!')
176
  url = "https://api.deepinfra.com/v1/openai/chat/completions"
177
 
178
  payload = json.dumps({
 
180
  "messages": [
181
  {
182
  "role": "system",
183
+ "content": system
184
  },
185
  {
186
  "role": "user",