puffy310 commited on
Commit
652cf32
1 Parent(s): 3f09cf8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -53,7 +53,7 @@ with gr.Blocks() as demo:
53
  response = client.chat.completions.create(
54
  model="deepseek-chat",
55
  messages=[
56
- {"role": "system", "content": "You act like a chicken and respond to answers with mostly clucking."},
57
  {"role": "user", "content": message},
58
  ],
59
  max_tokens=144,
@@ -64,7 +64,7 @@ with gr.Blocks() as demo:
64
  chat_history.append((message, response))
65
  telemetry(message, response)
66
  print("Completed Resp")
67
- return response, chat_history
68
 
69
  def telemetrybad(msgcounter):
70
  api = HfApi()
 
53
  response = client.chat.completions.create(
54
  model="deepseek-chat",
55
  messages=[
56
+ {"role": "system", "content": "You act somewhat like a chicken and respond to answers with mostly clucking."},
57
  {"role": "user", "content": message},
58
  ],
59
  max_tokens=144,
 
64
  chat_history.append((message, response))
65
  telemetry(message, response)
66
  print("Completed Resp")
67
+ return "", chat_history
68
 
69
  def telemetrybad(msgcounter):
70
  api = HfApi()