Commit
•
71c284d
1
Parent(s):
1b18d48
oh, right
Browse files
src/app/interface/generate/index.tsx
CHANGED
@@ -119,7 +119,7 @@ export function Generate() {
|
|
119 |
const size: HotshotImageInferenceSize = "608x416"
|
120 |
|
121 |
// 608x416 @ 25 steps -> 32 seconds
|
122 |
-
const steps = qualityLevel === "low" ?
|
123 |
|
124 |
let key = ""
|
125 |
try {
|
|
|
119 |
const size: HotshotImageInferenceSize = "608x416"
|
120 |
|
121 |
// 608x416 @ 25 steps -> 32 seconds
|
122 |
+
const steps = qualityLevel === "low" ? 30 : 45
|
123 |
|
124 |
let key = ""
|
125 |
try {
|
src/app/server/actions/generateGradio.ts
CHANGED
@@ -12,7 +12,7 @@ export async function generateGradio({
|
|
12 |
// replicateLora, // not supported yet
|
13 |
nbFrames = 8,
|
14 |
duration = 1000,
|
15 |
-
steps =
|
16 |
}: VideoOptions): Promise<string> {
|
17 |
/*
|
18 |
console.log(`SEND TO ${gradioApi + (gradioApi.endsWith("/") ? "" : "/") + "api/predict"}:`, [
|
|
|
12 |
// replicateLora, // not supported yet
|
13 |
nbFrames = 8,
|
14 |
duration = 1000,
|
15 |
+
steps = 40,
|
16 |
}: VideoOptions): Promise<string> {
|
17 |
/*
|
18 |
console.log(`SEND TO ${gradioApi + (gradioApi.endsWith("/") ? "" : "/") + "api/predict"}:`, [
|