pufanyi commited on
Commit
4b72f1c
·
1 Parent(s): 7ecad78

Refactor app.py to include lazy loading for images

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -149,12 +149,14 @@ def init_detailed_results():
149
  """)
150
 
151
 
152
- HEAD = "\n".join(
153
  [
154
  f'<link rel="stylesheet" href="{css}">' for css in CSS_EXTERNAL
155
  ]
156
  )
157
 
 
 
158
  demo = gr.Blocks(css=custom_css, head = HEAD)
159
  with demo:
160
  gr.HTML(TITLE)
 
149
  """)
150
 
151
 
152
+ HEAD = "".join(
153
  [
154
  f'<link rel="stylesheet" href="{css}">' for css in CSS_EXTERNAL
155
  ]
156
  )
157
 
158
+ print("HEAD:", HEAD)
159
+
160
  demo = gr.Blocks(css=custom_css, head = HEAD)
161
  with demo:
162
  gr.HTML(TITLE)