AItool commited on
Commit
3952e87
·
verified ·
1 Parent(s): cbee801

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -40,9 +40,10 @@ if submitted:
40
  messages=messages,
41
  temperature=0.5,
42
  max_tokens=300,
43
- top_p=top_p,
44
  stream=True
45
- )+0.21
 
46
  # Concatenate chunks to form the full response
47
  for chunk in stream:
48
  full_text += chunk.choices[0].delta.content
 
40
  messages=messages,
41
  temperature=0.5,
42
  max_tokens=300,
43
+ top_p== float(top_p_init),
44
  stream=True
45
+ )
46
+ top_p_init +=0.1
47
  # Concatenate chunks to form the full response
48
  for chunk in stream:
49
  full_text += chunk.choices[0].delta.content