BaggerOfWords commited on
Commit
9e04c28
·
1 Parent(s): 0eaedb3

Remove Falcon button, makes zerogpu crash sometimes

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -123,7 +123,7 @@ with demo:
123
  plus = gr.Button("Add model slot", elem_id="plus_button")
124
  minus = gr.Button("Remove model slot", elem_id="minus_button")
125
  config1_btn = gr.Button("Try Basic gpt Configuration")
126
- config2_btn = gr.Button("Try Falcon models Configuration")
127
  plus.click(
128
  fn=update_textboxes,
129
  inputs=n_models_state,
@@ -142,14 +142,14 @@ with demo:
142
  *model_inputs
143
  ]
144
  )
145
- config2_btn.click(
146
  fn=apply_config2,
147
  inputs=None,
148
  outputs=[
149
  n_models_state,
150
  *model_inputs
151
  ]
152
- )
153
  with gr.Row():
154
  threshold_choice = gr.Radio(choices=["default", "custom"], value="default", label="Threshold Choice")
155
  custom_threshold = gr.Number(value=0.0, label="Custom Threshold (if 'custom' selected)")
 
123
  plus = gr.Button("Add model slot", elem_id="plus_button")
124
  minus = gr.Button("Remove model slot", elem_id="minus_button")
125
  config1_btn = gr.Button("Try Basic gpt Configuration")
126
+ #config2_btn = gr.Button("Try Falcon models Configuration")
127
  plus.click(
128
  fn=update_textboxes,
129
  inputs=n_models_state,
 
142
  *model_inputs
143
  ]
144
  )
145
+ """config2_btn.click(
146
  fn=apply_config2,
147
  inputs=None,
148
  outputs=[
149
  n_models_state,
150
  *model_inputs
151
  ]
152
+ )"""
153
  with gr.Row():
154
  threshold_choice = gr.Radio(choices=["default", "custom"], value="default", label="Threshold Choice")
155
  custom_threshold = gr.Number(value=0.0, label="Custom Threshold (if 'custom' selected)")