Skip to content

Commit 20f5b45

Browse files
committed
Add parameters reference oobabooga#386 oobabooga#331
1 parent 9256e93 commit 20f5b45

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

css/main.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
fill: white;
3333
}
3434

35+
.dark a {
36+
color: white !important;
37+
text-decoration: none !important;
38+
}
39+
3540
svg {
3641
display: unset !important;
3742
vertical-align: middle !important;

server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def create_settings_menus(default_preset):
133133
with gr.Row():
134134
with gr.Column():
135135
with gr.Box():
136-
gr.Markdown('Custom generation parameters')
136+
gr.Markdown('Custom generation parameters ([reference](https://huggingface.co/docs/transformers/main_classes/text_generation#transformers.GenerationConfig))')
137137
with gr.Row():
138138
with gr.Column():
139139
shared.gradio['temperature'] = gr.Slider(0.01, 1.99, value=generate_params['temperature'], step=0.01, label='temperature')

0 commit comments

Comments
 (0)