artificialguybr
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ with gr.Blocks() as demo:
|
|
94 |
submit = gr.Button(value="Send message")
|
95 |
clear = gr.Button(value="New topic")
|
96 |
system_msg = gr.Textbox(BASE_SYSTEM_MESSAGE, label="System Message", placeholder="System prompt.", lines=5)
|
97 |
-
max_tokens = gr.Slider(20, 1024 label="Max Tokens", step=20, value=500, interactive=True)
|
98 |
temperature = gr.Slider(0.0, 1.0, label="Temperature", step=0.1, value=0.7, interactive=True)
|
99 |
top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.95, interactive=True)
|
100 |
chat_history_state = gr.State([])
|
|
|
94 |
submit = gr.Button(value="Send message")
|
95 |
clear = gr.Button(value="New topic")
|
96 |
system_msg = gr.Textbox(BASE_SYSTEM_MESSAGE, label="System Message", placeholder="System prompt.", lines=5)
|
97 |
+
max_tokens = gr.Slider(20, 1024, label="Max Tokens", step=20, value=500, interactive=True)
|
98 |
temperature = gr.Slider(0.0, 1.0, label="Temperature", step=0.1, value=0.7, interactive=True)
|
99 |
top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.95, interactive=True)
|
100 |
chat_history_state = gr.State([])
|