From 43869651f11464eac2e8eb6c96a28c370564f066 Mon Sep 17 00:00:00 2001 From: Samrat Barai Date: Tue, 13 May 2025 18:07:25 +0600 Subject: [PATCH] Update inference.ipynb and fix app.py not found error There IS no app.py in the main folder, you're supposed to run it via acestep, so I added the lines to install it use it instead --- inference.ipynb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/inference.ipynb b/inference.ipynb index 2ba6992..937c3b8 100644 --- a/inference.ipynb +++ b/inference.ipynb @@ -123,7 +123,9 @@ "\n", "\n", "print(\" * Running UI...\")\n", - "!python app.py --checkpoint_path ./checkpoints/ --port 7865 --device_id 0 --share true --bf16 {bf16}" + "\n", + "!pip install e .", + "!acestep --checkpoint_path ./checkpoints/ --port 7865 --device_id 0 --share true --bf16 {bf16}" ], "metadata": { "cellView": "form", @@ -133,4 +135,4 @@ "outputs": [] } ] -} \ No newline at end of file +}