ubermenchh commited on
Commit
8651d94
1 Parent(s): 97b8a2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ with gr.Blocks(theme='Taithrah/Minimal') as demo:
119
  max_new_tokens = gr.Slider(label='Max New Tokens', minimum=1, maximum=MAX_MAX_NEW_TOKENS, step=1, value=DEFAULT_MAX_NEW_TOKENS)
120
  temperature = gr.Slider(label='Temperatur', minimum=0.1, maximum=4.0, step=0.1, value=0.1)
121
  top_p = gr.Slider(label='Top-P (nucleus sampling)', minimum=0.05, maximum=1.0, step=0.05, value=0.9)
122
- top_k = gr.Slider(label='Top-K', minimum=1, maximum=1000, step=1, value=10)
123
 
124
  textbox.submit(
125
  fn=clear_and_save_textbox,
 
119
  max_new_tokens = gr.Slider(label='Max New Tokens', minimum=1, maximum=MAX_MAX_NEW_TOKENS, step=1, value=DEFAULT_MAX_NEW_TOKENS)
120
  temperature = gr.Slider(label='Temperatur', minimum=0.1, maximum=4.0, step=0.1, value=0.1)
121
  top_p = gr.Slider(label='Top-P (nucleus sampling)', minimum=0.05, maximum=1.0, step=0.05, value=0.9)
122
+ top_k = gr.Slider(label='Top-K', minimum=1, maximum=1000, step=1, value=10)
123
 
124
  textbox.submit(
125
  fn=clear_and_save_textbox,