Ahmed-14 commited on
Commit
04bf58a
1 Parent(s): f754c29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -125,12 +125,13 @@ with gr.Blocks(theme='SebastianBravo/simci_css') as demo:
125
 
126
  import webbrowser
127
 
128
- def apply_dark_theme(url):
129
- if not url.endswith('?__theme=dark'):
130
- webbrowser.open_new(url + '?__theme=dark')
131
 
132
- gradioURL = 'http://localhost:7860/'
133
- apply_dark_theme(gradioURL)
134
 
135
  if __name__ == "__main__":
136
- demo.launch()
 
 
125
 
126
  import webbrowser
127
 
128
+ # def apply_dark_theme(url):
129
+ # if not url.endswith('?__theme=dark'):
130
+ # webbrowser.open_new(url + '?__theme=dark')
131
 
132
+ # gradioURL = 'http://localhost:7860/'
133
+ # apply_dark_theme(gradioURL)
134
 
135
  if __name__ == "__main__":
136
+ demo.launch()
137
+ print(webbrowser.get())