patpizio commited on
Commit
4bc4fd8
1 Parent(s): 50a5784

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -47,9 +47,10 @@ with col1:
47
  )
48
 
49
  with col2:
50
- temperature = st.slider('Temperature: ', min_value=0.0, max_value=1.0, value=0.5)
51
- top_p = st.slider('Top p: ', min_value=0.5, max_value=1.0, value=0.99)
52
- max_tokens = st.number_input('Max output length: ', min_value=1, max_value=64, format='%i')
 
53
  threshold = st.number_input('Min token score:: ', value=-100.0)
54
 
55
 
 
47
  )
48
 
49
  with col2:
50
+ temperature = st.slider('Temperature:', min_value=0.0, max_value=1.0, value=0.5)
51
+ top_p = st.slider('Top p:', min_value=0.5, max_value=1.0, value=0.99)
52
+ # max_tokens = st.number_input('Max output length:', min_value=1, max_value=64, format='%i')
53
+ max_tokens = st.slider('Max output length: ', min_value=1, max_value=64)
54
  threshold = st.number_input('Min token score:: ', value=-100.0)
55
 
56