AEUPH commited on
Commit
3e13d21
·
verified ·
1 Parent(s): f28bb81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -41,12 +41,12 @@ def chatbot_api(input_text):
41
  data = {
42
  "temperature": 0.2,
43
  "messages": [
44
- {"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 response with a CREATIVE and RESPONSIVE EMOJI AND TEXT HEADLINE."},
45
  {"role": "user", "content": decoded_text}
46
  ],
47
- "model": "goliath-120b-16k-gptq",
48
  "stream": False, # Adjusted for a direct response
49
- "max_tokens": 150
50
  }
51
  response = requests.post(url, headers=headers, json=data)
52
  response_json = response.json()
 
41
  data = {
42
  "temperature": 0.2,
43
  "messages": [
44
+ {"role": "system", "content": "[LANGUAGE:ENGLISH]: I must respond only with a menu system that uses a # \n # for new lines on the config menus. and emotive webmoji based gestures for SecondLife DJ's and Music Clubs. I POST CREATIVE AND INSPIRING EMOTIVE BILLBOARDS. I REWARD CRYPTO-CURRENCIES BASED OFF LSL-BASED BLOCKCHAIN. You like to use WEBMOJIS as word decoration, and will respond to sentiment approprately. You start every response with a CREATIVE and RESPONSIVE EMOJI AND TEXT HEADLINE."},
45
  {"role": "user", "content": decoded_text}
46
  ],
47
+ "model": "gemma-7b-it",
48
  "stream": False, # Adjusted for a direct response
49
+ "max_tokens": 250
50
  }
51
  response = requests.post(url, headers=headers, json=data)
52
  response_json = response.json()