prithivMLmods commited on
Commit
6e49219
1 Parent(s): 5e9260c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -11
app.py CHANGED
@@ -106,17 +106,7 @@ footer {
106
  }
107
  '''
108
 
109
- js_func = """
110
- function refresh() {
111
- const url = new URL(window.location);
112
- if (url.searchParams.get('__theme') !== 'dark') {
113
- url.searchParams.set('__theme', 'dark');
114
- window.location.href = url.href;
115
- }
116
- }
117
- """
118
-
119
- with gr.Blocks(css=css, js=js_func, theme="bethecloud/storj_theme") as demo:
120
  with gr.Row():
121
  with gr.Column(scale=1):
122
  prompt = gr.Text(
 
106
  }
107
  '''
108
 
109
+ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
 
 
 
 
 
 
 
 
 
 
110
  with gr.Row():
111
  with gr.Column(scale=1):
112
  prompt = gr.Text(