Spaces:
Runtime error
Runtime error
Update run.py
Browse files
run.py
CHANGED
@@ -24,10 +24,10 @@ if not os.path.exists("/content/drive/MyDrive/"):
|
|
24 |
|
25 |
# Use Henk's easy install code, but pass --init since we'll manually start the
|
26 |
# server in the background later.
|
27 |
-
|
28 |
|
29 |
# Clone the UI repo and set it up.
|
30 |
-
|
31 |
"https://github.com/PygmalionAI/gradio-ui.git" \
|
32 |
&& cd gradio-ui && pip3 install -r requirements.txt
|
33 |
|
@@ -43,6 +43,6 @@ os.system(f"cd /content/KoboldAI-Client && python3 aiserver.py --noaimenu --host
|
|
43 |
|
44 |
# And start up the UI. It'll wait for Kobold to finish booting up before
|
45 |
# printing out its URL.
|
46 |
-
|
47 |
--koboldai-url "http://localhost:9090" \
|
48 |
--share
|
|
|
24 |
|
25 |
# Use Henk's easy install code, but pass --init since we'll manually start the
|
26 |
# server in the background later.
|
27 |
+
wget https://koboldai.org/ckds -O - | bash /dev/stdin --init only
|
28 |
|
29 |
# Clone the UI repo and set it up.
|
30 |
+
git clone --depth=1 \
|
31 |
"https://github.com/PygmalionAI/gradio-ui.git" \
|
32 |
&& cd gradio-ui && pip3 install -r requirements.txt
|
33 |
|
|
|
43 |
|
44 |
# And start up the UI. It'll wait for Kobold to finish booting up before
|
45 |
# printing out its URL.
|
46 |
+
python3 gradio-ui/src/app.py \
|
47 |
--koboldai-url "http://localhost:9090" \
|
48 |
--share
|