Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
3ffc848
1
Parent(s):
75cc68d
let's use 3x3
Browse files
src/utils/generateImageSDXL.mts
CHANGED
@@ -32,10 +32,10 @@ export async function generateImageSDXLAsBase64(options: {
|
|
32 |
instances.push(instance)
|
33 |
|
34 |
const positive = [
|
35 |
-
positivePrompt,
|
36 |
"beautiful",
|
37 |
-
"award winning",
|
38 |
"intricate details",
|
|
|
|
|
39 |
"high resolution"
|
40 |
].filter(word => word)
|
41 |
.join(", ")
|
|
|
32 |
instances.push(instance)
|
33 |
|
34 |
const positive = [
|
|
|
35 |
"beautiful",
|
|
|
36 |
"intricate details",
|
37 |
+
positivePrompt,
|
38 |
+
"award winning",
|
39 |
"high resolution"
|
40 |
].filter(word => word)
|
41 |
.join(", ")
|
src/utils/segmentImage.mts
CHANGED
@@ -9,7 +9,7 @@ import { resizeBase64Image } from "./resizeBase64Image.mts"
|
|
9 |
const instances: string[] = [
|
10 |
`${process.env.VC_SEGMENTATION_MODULE_SPACE_API_URL_1 || ""}`,
|
11 |
`${process.env.VC_SEGMENTATION_MODULE_SPACE_API_URL_2 || ""}`,
|
12 |
-
|
13 |
]
|
14 |
|
15 |
// TODO we should use an inference endpoint instead
|
|
|
9 |
const instances: string[] = [
|
10 |
`${process.env.VC_SEGMENTATION_MODULE_SPACE_API_URL_1 || ""}`,
|
11 |
`${process.env.VC_SEGMENTATION_MODULE_SPACE_API_URL_2 || ""}`,
|
12 |
+
`${process.env.VC_SEGMENTATION_MODULE_SPACE_API_URL_3 || ""}`,
|
13 |
]
|
14 |
|
15 |
// TODO we should use an inference endpoint instead
|