expandme commited on
Commit
bd2c03e
1 Parent(s): 30987fc

Modesl are RO ? - What wind.surf will do ?

Browse files
Files changed (1) hide show
  1. app.py +6 -4
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} - GGUF is popular format on PC in LM Studio or on Tablet/Mobile in PocketPal APPs"
78
 
79
  demo = gr.ChatInterface(
80
  respond,
81
  title=get_chat_title(list(MODELS.keys())[0]),
82
- description="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=True,
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"),