Cran-May commited on
Commit
d0d9226
1 Parent(s): 766da4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -45,8 +45,8 @@ def get_system_tokens(model):
45
  return get_message_tokens(model, **system_message)
46
 
47
 
48
- repo_name = "TheBloke/openbuddy-mistral-7B-v13.1-GGUF"
49
- model_name = "openbuddy-mistral-7b-v13.1.Q4_K_S.gguf"
50
 
51
  snapshot_download(repo_id=repo_name, local_dir=".", allow_patterns=model_name)
52
 
@@ -124,7 +124,7 @@ with gr.Blocks(
124
  submit = gr.Button("Submit / 开凹!")
125
  stop = gr.Button("Stop / 全局时空断裂")
126
  clear = gr.Button("Clear / 打扫群内垃圾")
127
- with gr.Row():
128
  with gr.Column(min_width=80, scale=1):
129
  with gr.Tab(label="设置参数"):
130
  top_p = gr.Slider(
 
45
  return get_message_tokens(model, **system_message)
46
 
47
 
48
+ repo_name = "TheBloke/openbuddy-zephyr-7B-v14.1-GGUF"
49
+ model_name = "openbuddy-zephyr-7b-v14.1.Q4_K_M.gguf"
50
 
51
  snapshot_download(repo_id=repo_name, local_dir=".", allow_patterns=model_name)
52
 
 
124
  submit = gr.Button("Submit / 开凹!")
125
  stop = gr.Button("Stop / 全局时空断裂")
126
  clear = gr.Button("Clear / 打扫群内垃圾")
127
+ with gr.Accordion(label='进阶设置/Advanced options', open=False):
128
  with gr.Column(min_width=80, scale=1):
129
  with gr.Tab(label="设置参数"):
130
  top_p = gr.Slider(