Skip to content

Commit

Permalink
Add parameters reference #386 #331
Browse files Browse the repository at this point in the history
  • Loading branch information
oobabooga committed Mar 17, 2023
1 parent 9256e93 commit 20f5b45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
fill: white;
}

.dark a {
color: white !important;
text-decoration: none !important;
}

svg {
display: unset !important;
vertical-align: middle !important;
Expand Down
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def create_settings_menus(default_preset):
with gr.Row():
with gr.Column():
with gr.Box():
gr.Markdown('Custom generation parameters')
gr.Markdown('Custom generation parameters ([reference](https://huggingface.co/docs/transformers/main_classes/text_generation#transformers.GenerationConfig))')
with gr.Row():
with gr.Column():
shared.gradio['temperature'] = gr.Slider(0.01, 1.99, value=generate_params['temperature'], step=0.01, label='temperature')
Expand Down

0 comments on commit 20f5b45

Please sign in to comment.