Spaces:
Sleeping
Sleeping
ehristoforu
commited on
Commit
•
8eb8720
1
Parent(s):
9b7bb96
Update webui.py
Browse files
webui.py
CHANGED
@@ -53,7 +53,7 @@ with gr.Blocks(theme=theme, title=f"TensorLM v{tlm_version} Demo", css="style.cs
|
|
53 |
preset = gr.Radio(label="Prompt preset", choices=load_presets_names(), value=load_presets_names()[1], interactive=True)
|
54 |
system_prompt = gr.Textbox(label="Custom system prompt", max_lines=4, lines=3, interactive=True)
|
55 |
with gr.Tab("Model"):
|
56 |
-
model = gr.Dropdown(label="Model (only based on Llama in GGML format (.bin))", choices=os.listdir(f"{dir}/models"), value="
|
57 |
|
58 |
|
59 |
with gr.Row(render=False) as settings:
|
|
|
53 |
preset = gr.Radio(label="Prompt preset", choices=load_presets_names(), value=load_presets_names()[1], interactive=True)
|
54 |
system_prompt = gr.Textbox(label="Custom system prompt", max_lines=4, lines=3, interactive=True)
|
55 |
with gr.Tab("Model"):
|
56 |
+
model = gr.Dropdown(label="Model (only based on Llama in GGML format (.bin))", choices=os.listdir(f"{dir}/models"), value="llama-2-7b-chat.ggmlv3.q2_K.bin", interactive=False, allow_custom_value=False, scale=50)
|
57 |
|
58 |
|
59 |
with gr.Row(render=False) as settings:
|