Lesterchia174 commited on
Commit
7763315
·
verified ·
1 Parent(s): 373f521

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -299,7 +299,7 @@ with gr.Blocks() as demo:
299
 
300
  # Add cleanup function to be triggered periodically (e.g., every time a button is clicked or after certain actions)
301
  #demo.load(lambda: cleanup_old_files(directory="./", age_limit=60), inputs=[], outputs=[])
302
- demo.load(lambda: (cleanup_old_files() or []), inputs=[], outputs=[])
303
 
304
 
305
  demo.launch()
 
299
 
300
  # Add cleanup function to be triggered periodically (e.g., every time a button is clicked or after certain actions)
301
  #demo.load(lambda: cleanup_old_files(directory="./", age_limit=60), inputs=[], outputs=[])
302
+ demo.load(lambda: [], inputs=[], outputs=[])
303
 
304
 
305
  demo.launch()