thepolymerguy commited on
Commit
a53224c
1 Parent(s): c6d26b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -415,7 +415,7 @@ with gr.Blocks(title='Claimed', theme=theme) as demo:
415
  with gr.Accordion("Parameters"):
416
  temp = gr.Slider(minimum=0, maximum=1, value=0.6, label="Temperature", step=0.1)
417
  top_p = gr.Slider(minimum=0.5, maximum=1, value=0.95, label="Top P", step=0.1)
418
- tokens = gr.Slider(minimum=5, maximum=1024, value=256, label="Max Tokens", step=1)
419
 
420
  btn.click(fn=claim_selector, inputs=[text1, Claimchoices]).then(run_model, inputs=[text1, Claimchoices, temp, top_p, tokens], outputs=text2)
421
 
 
415
  with gr.Accordion("Parameters"):
416
  temp = gr.Slider(minimum=0, maximum=1, value=0.6, label="Temperature", step=0.1)
417
  top_p = gr.Slider(minimum=0.5, maximum=1, value=0.95, label="Top P", step=0.1)
418
+ tokens = gr.Slider(minimum=5, maximum=2058, value=512, label="Max Tokens", step=1)
419
 
420
  btn.click(fn=claim_selector, inputs=[text1, Claimchoices]).then(run_model, inputs=[text1, Claimchoices, temp, top_p, tokens], outputs=text2)
421