Tanifh commited on
Commit
77f91dd
Β·
verified Β·
1 Parent(s): 7ff24a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ if st.button("Send") and user_input:
65
  # βœ… Speed improvements: Increase max_tokens for full responses & ensure proper stopping
66
  response_data = st.session_state["model"].create_chat_completion(
67
  messages=formatted_messages,
68
- max_tokens=96, temperature=0.5, top_p=0.8,
69
  stop=["\n", "<|endoftext|>"], # βœ… Ensures responses end properly
70
  stream=False
71
  )
 
65
  # βœ… Speed improvements: Increase max_tokens for full responses & ensure proper stopping
66
  response_data = st.session_state["model"].create_chat_completion(
67
  messages=formatted_messages,
68
+ max_tokens=110, temperature=0.5, top_p=0.8,
69
  stop=["\n", "<|endoftext|>"], # βœ… Ensures responses end properly
70
  stream=False
71
  )