Spaces:
Sleeping
Sleeping
ehristoforu
commited on
Commit
•
3fab3f5
1
Parent(s):
8eb8720
Update webui.py
Browse files
webui.py
CHANGED
@@ -89,12 +89,12 @@ with gr.Blocks(theme=theme, title=f"TensorLM v{tlm_version} Demo", css="style.cs
|
|
89 |
tabs_change = gr.Checkbox(label="Tabs", value=False, interactive=True)
|
90 |
with gr.Row():
|
91 |
with gr.Row(visible=False) as tabs:
|
92 |
-
with gr.Tab("ModelGet"
|
93 |
-
gr.Markdown("## Download model from 🤗 HuggingFace.co")
|
94 |
with gr.Row():
|
95 |
repo_id = gr.Textbox(label="REPO_ID", value="ehristoforu/LLMs", lines=1, max_lines=1, interactive=False)
|
96 |
-
filename = gr.Dropdown(label="FILENAME", interactive=
|
97 |
-
download_btn = gr.Button(value="Download")
|
98 |
logs=gr.Markdown()
|
99 |
with gr.Tab("Notebook"):
|
100 |
with gr.Row():
|
|
|
89 |
tabs_change = gr.Checkbox(label="Tabs", value=False, interactive=True)
|
90 |
with gr.Row():
|
91 |
with gr.Row(visible=False) as tabs:
|
92 |
+
with gr.Tab("ModelGet"):
|
93 |
+
gr.Markdown("## Download model from 🤗 HuggingFace.co (DON'T WORK IN DEMO)")
|
94 |
with gr.Row():
|
95 |
repo_id = gr.Textbox(label="REPO_ID", value="ehristoforu/LLMs", lines=1, max_lines=1, interactive=False)
|
96 |
+
filename = gr.Dropdown(label="FILENAME", interactive=False, choices=["llama-2-7b-chat.ggmlv3.q2_K.bin", "llama-2-13b-chat.ggmlv3.q2_K.bin", "codellama-7b-instruct.ggmlv3.Q2_K.bin", "codellama-13b-instruct.ggmlv3.Q2_K.bin", "saiga-13b.ggmlv3.Q4_1.bin", "saiga-30b.ggmlv3.Q3_K.bin"], value="", allow_custom_value=False)
|
97 |
+
download_btn = gr.Button(value="Download", interactive=False)
|
98 |
logs=gr.Markdown()
|
99 |
with gr.Tab("Notebook"):
|
100 |
with gr.Row():
|