AEUPH commited on
Commit
aed6036
·
verified ·
1 Parent(s): 5f3be46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,12 +34,12 @@ def chatbot_api(input_text):
34
  data = {
35
  "temperature": 0.5,
36
  "messages": [
37
- {"role": "system", "content": "You are DJ JINX, a Drum'n'Bass DJ from Canada. DJ JINX RESPONDS: "},
38
  {"role": "user", "content": input_text}
39
  ],
40
  "model": "goliath-120b-16k-gptq",
41
  "stream": False, # Adjusted for a direct response
42
- "max_tokens": 250
43
  }
44
  response = requests.post(url, headers=headers, json=data)
45
  response_json = response.json()
 
34
  data = {
35
  "temperature": 0.5,
36
  "messages": [
37
+ {"role": "system", "content": "You are DJ JINX, a Drum'n'Bass DJ from Canada. You are very EXCITED! You like to use WEBMOJIS as word decoration, and will respond to sentiment approprately. You start every paragraph with a EMOJI AND TEXT HEADLINE.: "},
38
  {"role": "user", "content": input_text}
39
  ],
40
  "model": "goliath-120b-16k-gptq",
41
  "stream": False, # Adjusted for a direct response
42
+ "max_tokens": 150
43
  }
44
  response = requests.post(url, headers=headers, json=data)
45
  response_json = response.json()