llaa33219 commited on
Commit
9e0d513
·
verified ·
1 Parent(s): f68782a

Upload 3 files

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -258,7 +258,7 @@ with gr.Blocks(title="Context Window Extender - Chat") as demo:
258
 
259
  # Hide/show RoPE options based on extension method
260
  def update_rope_visibility(method):
261
- return gr.update(visible=method == "rope")
262
 
263
  extension_method.change(
264
  update_rope_visibility,
 
258
 
259
  # Hide/show RoPE options based on extension method
260
  def update_rope_visibility(method):
261
+ return gr.update(visible=method == "rope"), gr.update(visible=method == "rope")
262
 
263
  extension_method.change(
264
  update_rope_visibility,