Spaces:
Running
on
Zero
Running
on
Zero
app.py
CHANGED
@@ -211,7 +211,6 @@ with gr.Blocks() as demo:
|
|
211 |
)
|
212 |
|
213 |
# JavaScriptの読み込み
|
214 |
-
demo.load(js=script)
|
215 |
|
216 |
-
initialize_models()
|
217 |
demo.launch()
|
|
|
211 |
)
|
212 |
|
213 |
# JavaScriptの読み込み
|
214 |
+
demo.load(fn=initialize_models, js=script)
|
215 |
|
|
|
216 |
demo.launch()
|