kaleidoskop-hug commited on
Commit
d721f92
·
verified ·
1 Parent(s): bdb544e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -51,8 +51,8 @@ def reset_conversation():
51
  def get_assistant_aswer(st_model, st_messages, st_temp_value, st_max_tokens):
52
  response = ""
53
  st.write ("model: " + st_model)
54
- st.write ("temp: " + st_temp_value.to_string())
55
- st.write ("max_tokens: " + st_max.to_string())
56
  try:
57
  stream = client.chat.completions.create(
58
  model=st_model,
 
51
  def get_assistant_aswer(st_model, st_messages, st_temp_value, st_max_tokens):
52
  response = ""
53
  st.write ("model: " + st_model)
54
+ st.write ("temp: " + str(st_temp_value))
55
+ st.write ("max_tokens: " + str(st_max))
56
  try:
57
  stream = client.chat.completions.create(
58
  model=st_model,