From 20f5b455bf9e0c268ff5b4e6e452add0c2aabe78 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Fri, 17 Mar 2023 20:19:04 -0300 Subject: [PATCH] Add parameters reference #386 #331 --- css/main.css | 5 +++++ server.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/css/main.css b/css/main.css index 87c3bded2c..c6b0b07e8e 100644 --- a/css/main.css +++ b/css/main.css @@ -32,6 +32,11 @@ fill: white; } +.dark a { + color: white !important; + text-decoration: none !important; +} + svg { display: unset !important; vertical-align: middle !important; diff --git a/server.py b/server.py index 5c21f4cd72..1d324fba75 100644 --- a/server.py +++ b/server.py @@ -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')