PrashanthB461 commited on
Commit
9fe0485
·
verified ·
1 Parent(s): c3ab8b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -17
app.py CHANGED
@@ -694,23 +694,8 @@ def create_interface():
694
  outputs=[export_status, export_file]
695
  )
696
 
697
- # Auto-refresh implementation using JavaScript
698
- demo.load(
699
- None,
700
- None,
701
- None,
702
- _js="""
703
- function() {
704
- setInterval(function(){
705
- var refreshBtn = document.querySelector("button[id^='component-']");
706
- if (refreshBtn && refreshBtn.textContent.includes('Refresh')) {
707
- refreshBtn.click();
708
- }
709
- }, 10000);
710
- return [];
711
- }
712
- """
713
- )
714
 
715
  return demo
716
 
 
694
  outputs=[export_status, export_file]
695
  )
696
 
697
+ # Remove the problematic auto-refresh implementation
698
+ # Users will need to manually click the refresh button
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
699
 
700
  return demo
701