NihalGazi commited on
Commit
72a7077
·
verified ·
1 Parent(s): 841ef85

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
- 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
- iface.launch()
125
-
 
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)