Update app.py
Browse files
app.py
CHANGED
|
@@ -87,7 +87,7 @@ def create_interface(model_name, description):
|
|
| 87 |
gr.Textbox(value=model_name, label="Model", interactive=False),
|
| 88 |
gr.Textbox(value="You are Fluently, a helpful assistant. You should think step-by-step. You should answer all question by prioritizing the principle of openness", label="System message"),
|
| 89 |
gr.Slider(minimum=1, maximum=4096, value=2048, step=1, label="Max tokens"),
|
| 90 |
-
gr.Slider(minimum=0.1, maximum=4.0, value=0.
|
| 91 |
gr.Slider(
|
| 92 |
minimum=0.1,
|
| 93 |
maximum=1.0,
|
|
@@ -112,7 +112,6 @@ def create_interface(model_name, description):
|
|
| 112 |
],
|
| 113 |
title=f"**FluentlyLM Prinum** ```on ZeroGPU```",
|
| 114 |
description=description,
|
| 115 |
-
],
|
| 116 |
chatbot=gr.Chatbot(
|
| 117 |
label=None,
|
| 118 |
scale=1,
|
|
|
|
| 87 |
gr.Textbox(value=model_name, label="Model", interactive=False),
|
| 88 |
gr.Textbox(value="You are Fluently, a helpful assistant. You should think step-by-step. You should answer all question by prioritizing the principle of openness", label="System message"),
|
| 89 |
gr.Slider(minimum=1, maximum=4096, value=2048, step=1, label="Max tokens"),
|
| 90 |
+
gr.Slider(minimum=0.1, maximum=4.0, value=0.6, step=0.1, label="Temperature"),
|
| 91 |
gr.Slider(
|
| 92 |
minimum=0.1,
|
| 93 |
maximum=1.0,
|
|
|
|
| 112 |
],
|
| 113 |
title=f"**FluentlyLM Prinum** ```on ZeroGPU```",
|
| 114 |
description=description,
|
|
|
|
| 115 |
chatbot=gr.Chatbot(
|
| 116 |
label=None,
|
| 117 |
scale=1,
|