Spaces:
Runtime error
Runtime error
Update start.sh
Browse files
start.sh
CHANGED
|
@@ -3,9 +3,10 @@ export DISPLAY=:1
|
|
| 3 |
Xvfb :1 -screen 0 1920x1080x24 &
|
| 4 |
sleep 2
|
| 5 |
|
| 6 |
-
|
|
|
|
| 7 |
|
| 8 |
-
#
|
| 9 |
CHROME_BIN="/home/user/chrome-linux/chrome"
|
| 10 |
|
| 11 |
$CHROME_BIN --no-sandbox --disable-dev-shm-usage --start-maximized --user-data-dir=/home/user/data --enable-gpu --enable-unsafe-webgpu --ignore-gpu-blocklist https://huggingface.co
|
|
|
|
| 3 |
Xvfb :1 -screen 0 1920x1080x24 &
|
| 4 |
sleep 2
|
| 5 |
|
| 6 |
+
# We manually specify port 7860 here because we didn't create a config file
|
| 7 |
+
vncserver -port 7860 -httpd /usr/share/kasmvnc/www -sslOnly 0 -depth 24 -geometry 1920x1080 -fg &
|
| 8 |
|
| 9 |
+
# Point to the Chrome download
|
| 10 |
CHROME_BIN="/home/user/chrome-linux/chrome"
|
| 11 |
|
| 12 |
$CHROME_BIN --no-sandbox --disable-dev-shm-usage --start-maximized --user-data-dir=/home/user/data --enable-gpu --enable-unsafe-webgpu --ignore-gpu-blocklist https://huggingface.co
|