Update app.py

This commit is contained in:
Baize 2023-04-04 03:54:48 +00:00 committed by huggingface-web
parent 794826773c
commit 85f3d2d553
1 changed files with 2 additions and 2 deletions

4
app.py
View File

@ -124,14 +124,14 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
gr.Markdown("# Parameters")
top_p = gr.Slider(
minimum=-0,
maximum=0.95,
maximum=1.0,
value=0.95,
step=0.05,
interactive=True,
label="Top-p",
)
temperature = gr.Slider(
minimum=-0,
minimum=0.1,
maximum=2.0,
value=1,
step=0.1,