NihalGazi commited on
Commit
2fb1bb2
·
verified ·
1 Parent(s): 72a7077

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -114,12 +114,12 @@ iface = gr.Interface(
114
  ["httpbin.org/html"],
115
  ["example.com"]
116
  ],
117
- flagging_options=None, # Updated from allow_flagging="never"
118
- css=".gradio-container {max-width: 1024px !important; margin: auto !important;}" # Optional: for better layout
 
119
  )
120
 
121
  # --- Main launch ---
122
  if __name__ == "__main__":
123
  print("Starting Gradio HTML Extractor application...")
124
- # Disable SSR (Server-Side Rendering) as it's experimental and can cause issues
125
  iface.launch(ssr_mode=False)
 
114
  ["httpbin.org/html"],
115
  ["example.com"]
116
  ],
117
+ cache_examples=False, # <--- ADD THIS LINE TO DISABLE EXAMPLE CACHING
118
+ flagging_options=None,
119
+ css=".gradio-container {max-width: 1024px !important; margin: auto !important;}"
120
  )
121
 
122
  # --- Main launch ---
123
  if __name__ == "__main__":
124
  print("Starting Gradio HTML Extractor application...")
 
125
  iface.launch(ssr_mode=False)