marcofrodl commited on
Commit
88aa2e3
·
1 Parent(s): 12f10e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -58,7 +58,7 @@ def respond_stream(
58
 
59
  css = """
60
  .header-text p {line-height: 80px !important; text-align: left; font-size: 26px;}
61
- .header-logo {text-align: left}
62
  """
63
 
64
  with gr.Blocks(title="Mistral Playground", css=css) as mistral_playground:
@@ -76,7 +76,7 @@ with gr.Blocks(title="Mistral Playground", css=css) as mistral_playground:
76
  )
77
  with gr.Row():
78
  temperature = gr.Slider(minimum=0.01, maximum=1.0, value=0.2, step=0.1, label="Temperature")
79
- top_p = gr.Slider(minimum=0.01, maximum=1.0, step=0.01, label="Top P")
80
  max_tokens = gr.Slider(minimum=1, maximum=16000, step=500, label="Max Tokens", value=4000)
81
 
82
  with gr.Row():
 
58
 
59
  css = """
60
  .header-text p {line-height: 80px !important; text-align: left; font-size: 26px;}
61
+ .header-logo {text-align: left, max-width: 80px; height: auto;}
62
  """
63
 
64
  with gr.Blocks(title="Mistral Playground", css=css) as mistral_playground:
 
76
  )
77
  with gr.Row():
78
  temperature = gr.Slider(minimum=0.01, maximum=1.0, value=0.2, step=0.1, label="Temperature")
79
+ top_p = gr.Slider(minimum=0.01, maximum=1.0, step=0.01, label="Top P", value=0.95)
80
  max_tokens = gr.Slider(minimum=1, maximum=16000, step=500, label="Max Tokens", value=4000)
81
 
82
  with gr.Row():