Spaces:
Sleeping
Sleeping
ehristoforu
commited on
Commit
•
03f4fd7
1
Parent(s):
4ea9164
Update webui.py
Browse files
webui.py
CHANGED
@@ -49,7 +49,7 @@ with gr.Blocks(theme=theme, title=f"TensorLM v{tlm_version}", css="style.css") a
|
|
49 |
preset = gr.Radio(label="Prompt preset", choices=load_presets_names(), value=load_presets_names()[1], interactive=True)
|
50 |
system_prompt = gr.Textbox(label="Custom system prompt", max_lines=4, lines=3, interactive=True)
|
51 |
with gr.Tab("Model"):
|
52 |
-
model = gr.Dropdown(label="Model (only based on Llama in GGML format (.bin))", choices=os.listdir(f"{dir}
|
53 |
|
54 |
|
55 |
with gr.Row(render=False) as settings:
|
|
|
49 |
preset = gr.Radio(label="Prompt preset", choices=load_presets_names(), value=load_presets_names()[1], interactive=True)
|
50 |
system_prompt = gr.Textbox(label="Custom system prompt", max_lines=4, lines=3, interactive=True)
|
51 |
with gr.Tab("Model"):
|
52 |
+
model = gr.Dropdown(label="Model (only based on Llama in GGML format (.bin))", choices=os.listdir(f"{dir}/models"), value="None", interactive=True, allow_custom_value=False, scale=50)
|
53 |
|
54 |
|
55 |
with gr.Row(render=False) as settings:
|