ayeshaishaq004 commited on
Commit
fde1b77
·
verified ·
1 Parent(s): f0f5423

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ user_input = st.text_input("You:", placeholder="Type your message here...")
16
  if user_input:
17
  payload = {
18
  "inputs": user_input,
19
- "parameters": {"max_new_tokens": 150, "temperature": 0.7}
20
  }
21
 
22
  try:
 
16
  if user_input:
17
  payload = {
18
  "inputs": user_input,
19
+ "parameters": {"max_length": 200, "do_sample": True}
20
  }
21
 
22
  try: