mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 13:35:12 +03:00
fix:directml edition det
This commit is contained in:
parent
73f564cfa8
commit
dda7ab008b
2
client/demo/dist/index.js
vendored
2
client/demo/dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,5 @@
|
||||
import React, { useMemo } from "react";
|
||||
import { useGuiState } from "./001_GuiStateProvider";
|
||||
// import { getMessage } from "./messages/MessageBuilder";
|
||||
import { isDesktopApp } from "../../const";
|
||||
import { useAppRoot } from "../../001_provider/001_AppRootProvider";
|
||||
import { useMessageBuilder } from "../../hooks/useMessageBuilder";
|
||||
|
@ -25,7 +25,7 @@ export const ConvertArea = (props: ConvertProps) => {
|
||||
name: "cpu",
|
||||
memory: 0
|
||||
})
|
||||
const gpuSelect = edition == "onnxdirectML-cuda" ? (
|
||||
const gpuSelect = edition.indexOf("onnxdirectML-cuda") >= 0 ? (
|
||||
<div className="config-sub-area-control">
|
||||
<div className="config-sub-area-control-title">GPU(dml):</div>
|
||||
<div className="config-sub-area-control-field">
|
||||
|
Loading…
Reference in New Issue
Block a user