expandme commited on
Commit
f45f99c
1 Parent(s): e87d0c7

Model nae will be not editable ? - What wind.surf will do ?

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -85,7 +85,9 @@ demo = gr.ChatInterface(
85
  gr.Dropdown(
86
  choices=list(MODELS.keys()),
87
  value=list(MODELS.keys())[0],
88
- label="Select Model"
 
 
89
  ),
90
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
91
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
 
85
  gr.Dropdown(
86
  choices=list(MODELS.keys()),
87
  value=list(MODELS.keys())[0],
88
+ label="Select Model",
89
+ interactive=False,
90
+ allow_custom_value=False
91
  ),
92
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
93
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),