ankban commited on
Commit
5a196b8
·
verified ·
1 Parent(s): b5831f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -51,12 +51,6 @@ def main_app():
51
  def toggle_sidebar(current):
52
  return gr.update(visible=not current), not current
53
 
54
- collapse_btn.click(
55
- fn=toggle_sidebar,
56
- inputs=[sidebar_visible],
57
- outputs=[sidebar, sidebar_visible]
58
- )
59
-
60
  # === Toggle Dark Mode Logic ===
61
  def toggle_theme(current_theme):
62
  new_theme = "dark" if current_theme == "light" else "light"
 
51
  def toggle_sidebar(current):
52
  return gr.update(visible=not current), not current
53
 
 
 
 
 
 
 
54
  # === Toggle Dark Mode Logic ===
55
  def toggle_theme(current_theme):
56
  new_theme = "dark" if current_theme == "light" else "light"