Ahmed-14 commited on
Commit
151d7d4
1 Parent(s): e5d3d07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -130,7 +130,7 @@ with gr.Blocks(theme='SebastianBravo/simci_css') as demo:
130
 
131
  def apply_dark_theme(url):
132
  if not url.endswith('?__theme=dark'):
133
- webbrowser.controller.open(url + '?__theme=dark')
134
 
135
  gradioURL = 'http://localhost:7860/'
136
  apply_dark_theme(gradioURL)
 
130
 
131
  def apply_dark_theme(url):
132
  if not url.endswith('?__theme=dark'):
133
+ webbrowser.open(url + '?__theme=dark')
134
 
135
  gradioURL = 'http://localhost:7860/'
136
  apply_dark_theme(gradioURL)