Spaces:
Sleeping
Sleeping
Upload 3 files
Browse files
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,
|