Modesl are RO ? - What wind.surf will do ?
Browse files
app.py
CHANGED
@@ -74,19 +74,21 @@ def respond(
|
|
74 |
yield message_repl
|
75 |
|
76 |
def get_chat_title(model_name):
|
77 |
-
return f"{model_name} -
|
78 |
|
79 |
demo = gr.ChatInterface(
|
80 |
respond,
|
81 |
title=get_chat_title(list(MODELS.keys())[0]),
|
82 |
-
description="
|
83 |
additional_inputs=[
|
84 |
gr.Dropdown(
|
85 |
choices=list(MODELS.keys()),
|
86 |
value=list(MODELS.keys())[0],
|
87 |
label="Select Model",
|
88 |
-
interactive=
|
89 |
-
allow_custom_value=False
|
|
|
|
|
90 |
),
|
91 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
92 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
|
74 |
yield message_repl
|
75 |
|
76 |
def get_chat_title(model_name):
|
77 |
+
return f"{model_name} - load other model in advanced settings"
|
78 |
|
79 |
demo = gr.ChatInterface(
|
80 |
respond,
|
81 |
title=get_chat_title(list(MODELS.keys())[0]),
|
82 |
+
description="GGUF is popular format, try models locclay in: [LM Studio AI for PC](https://lmstudio.ai) | PocketPal AI ([Android](https://play.google.com/store/apps/details?id=com.pocketpalai) & [iOS](https://play.google.com/store/apps/details?id=com.pocketpalai)) on Tablet or Mobile",
|
83 |
additional_inputs=[
|
84 |
gr.Dropdown(
|
85 |
choices=list(MODELS.keys()),
|
86 |
value=list(MODELS.keys())[0],
|
87 |
label="Select Model",
|
88 |
+
interactive=False,
|
89 |
+
allow_custom_value=False,
|
90 |
+
elem_id="model_selector",
|
91 |
+
show_label=True
|
92 |
),
|
93 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
94 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|