Spaces:
Running
on
Zero
Running
on
Zero
Replace direct call to _warmup function with demo.load for improved integration in app.py
Browse files
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 |
|