artificialguybr commited on
Commit
a8e8a1f
1 Parent(s): 0e16686

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -19,7 +19,6 @@ BASE_SYSTEM_MESSAGE = "I carefully provide accurate, factual, thoughtful, nuance
19
  def call_nvidia_api(history, system_message, max_tokens, temperature, top_p):
20
  messages = [{"role": "system", "content": system_message}] if system_message else []
21
  messages.extend([{"role": "user", "content": msg[0]}, {"role": "assistant", "content": msg[1]} for msg in history if msg[1]])
22
-
23
  payload = {
24
  "messages": messages,
25
  "temperature": temperature,
 
19
  def call_nvidia_api(history, system_message, max_tokens, temperature, top_p):
20
  messages = [{"role": "system", "content": system_message}] if system_message else []
21
  messages.extend([{"role": "user", "content": msg[0]}, {"role": "assistant", "content": msg[1]} for msg in history if msg[1]])
 
22
  payload = {
23
  "messages": messages,
24
  "temperature": temperature,