仪表盘
版本库
文件存储
活动
搜索
登录
main
/
label-studio
数据标注工具
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
init
Bin
2025-12-16
9e0b2ba2c317b1a86212f24cbae3195ad1f3dbfa
[label-studio.git]
/
web
/
libs
/
frontend-test
/
src
/
plugins
/
disable_gpu.js
1
2
3
4
5
6
7
8
9
export const disableChromeGPU = (on) => {
on("before:browser:launch", (browser = {}, launchOptions) => {
if (browser.name === "chrome") {
launchOptions.args.push("--disable-gpu");
}
return launchOptions;
});
};