nicholasKluge commited on
Commit
4237769
·
1 Parent(s): 156e4d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -46,8 +46,8 @@ with gr.Blocks(theme='freddyaboulton/dracula_revamped') as demo:
46
  chatbot = gr.Chatbot(label="Aira").style(height=500)
47
 
48
  with gr.Accordion(label="Parâmetros ⚙️", open=False):
49
- top_k = gr.Slider( minimum=10, maximum=100, value=50, step=5, interactive=True, label="Top-k",)
50
- top_p = gr.Slider( minimum=0.1, maximum=1.0, value=0.70, step=0.05, interactive=True, label="Top-p",)
51
  temperature = gr.Slider( minimum=0.001, maximum=2.0, value=0.1, step=0.1, interactive=True, label="Temperatura",)
52
  max_length = gr.Slider( minimum=10, maximum=500, value=100, step=10, interactive=True, label="Comprimento Máximo",)
53
 
 
46
  chatbot = gr.Chatbot(label="Aira").style(height=500)
47
 
48
  with gr.Accordion(label="Parâmetros ⚙️", open=False):
49
+ top_k = gr.Slider( minimum=10, maximum=100, value=15, step=5, interactive=True, label="Top-k",)
50
+ top_p = gr.Slider( minimum=0.1, maximum=1.0, value=0.15, step=0.05, interactive=True, label="Top-p",)
51
  temperature = gr.Slider( minimum=0.001, maximum=2.0, value=0.1, step=0.1, interactive=True, label="Temperatura",)
52
  max_length = gr.Slider( minimum=10, maximum=500, value=100, step=10, interactive=True, label="Comprimento Máximo",)
53