MaxNoichl commited on
Commit
1b21585
·
1 Parent(s): bcac168

Replace direct call to _warmup function with demo.load for improved integration in app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1424,7 +1424,7 @@ with gr.Blocks(theme=theme, css=f"""
1424
  outputs=query_display
1425
  )
1426
 
1427
- _warmup()
1428
 
1429
 
1430
 
 
1424
  outputs=query_display
1425
  )
1426
 
1427
+ demo.load(fn=_warmup, inputs=None, outputs=None, queue=False)
1428
 
1429
 
1430