Commit
·
390e55e
1
Parent(s):
60d3fa3
Update app.py
Browse files
app.py
CHANGED
|
@@ -142,7 +142,7 @@ with gr.Blocks() as demo:
|
|
| 142 |
max_length = gr.Slider(minimum=4.0, maximum=4096.0, step=4.0, label='Max Length', value=configs['max_length'])
|
| 143 |
top_p = gr.Slider(minimum=0.01, maximum=1.0, step=0.01, label='Top P', value=configs['top_p'])
|
| 144 |
temperature = gr.Slider(minimum=0.01, maximum=2.0, step=0.01, label='Temperature', value=configs['temperature'])
|
| 145 |
-
memory_limit = gr.Slider(minimum
|
| 146 |
save_conf = gr.Button('保存设置', visible=False)
|
| 147 |
|
| 148 |
gr.Markdown('''<h2>Hint: click on a chat bubble to edit chat history</h2>''')
|
|
|
|
| 142 |
max_length = gr.Slider(minimum=4.0, maximum=4096.0, step=4.0, label='Max Length', value=configs['max_length'])
|
| 143 |
top_p = gr.Slider(minimum=0.01, maximum=1.0, step=0.01, label='Top P', value=configs['top_p'])
|
| 144 |
temperature = gr.Slider(minimum=0.01, maximum=2.0, step=0.01, label='Temperature', value=configs['temperature'])
|
| 145 |
+
memory_limit = gr.Slider(minimum=0.0, maximum=20.0, step=1.0, label='Memory Limit', value=configs['memory_limit'])
|
| 146 |
save_conf = gr.Button('保存设置', visible=False)
|
| 147 |
|
| 148 |
gr.Markdown('''<h2>Hint: click on a chat bubble to edit chat history</h2>''')
|