bradley6597 commited on
Commit
ac48929
1 Parent(s): 4bfe328

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -268,7 +268,7 @@ td img{
268
  }
269
  '''
270
 
271
- with gr.Blocks(css=style) as app:
272
  with gr.Row():
273
  with gr.Column(min_width = 10):
274
  with gr.Row():
@@ -296,7 +296,7 @@ with gr.Blocks(css=style) as app:
296
  search_button.click(search_logging, inputs=[search_prompt], outputs=None)
297
  search_prompt.submit(search_logging, inputs=[search_prompt], outputs=None)
298
  load_more_results_btn.click(search_index, inputs=[search_prompt, shared_drive, key_stage, sort_by, max_return, user_num, title_search, image_type, load_more_results_btn], outputs=[output_df, max_return, load_more_results_btn])
299
- app.load(_js = logging_js)
300
 
301
  app.auth = (same_auth)
302
  app.auth_message = ''
 
268
  }
269
  '''
270
 
271
+ with gr.Blocks(css=style, js = logging_js) as app:
272
  with gr.Row():
273
  with gr.Column(min_width = 10):
274
  with gr.Row():
 
296
  search_button.click(search_logging, inputs=[search_prompt], outputs=None)
297
  search_prompt.submit(search_logging, inputs=[search_prompt], outputs=None)
298
  load_more_results_btn.click(search_index, inputs=[search_prompt, shared_drive, key_stage, sort_by, max_return, user_num, title_search, image_type, load_more_results_btn], outputs=[output_df, max_return, load_more_results_btn])
299
+ app.load()
300
 
301
  app.auth = (same_auth)
302
  app.auth_message = ''