Spaces:
Runtime error
Runtime error
Ruben
commited on
Commit
·
25c4bd9
1
Parent(s):
3dc42f5
updated files
Browse files
frontend/src/lib/ParamsSelector.svelte
CHANGED
@@ -78,7 +78,7 @@
|
|
78 |
bind:value={sampleSteps}
|
79 |
type="range"
|
80 |
name="steps"
|
81 |
-
min="
|
82 |
max="30"
|
83 |
step="1"
|
84 |
disabled={$generateMap === true}
|
|
|
78 |
bind:value={sampleSteps}
|
79 |
type="range"
|
80 |
name="steps"
|
81 |
+
min="5"
|
82 |
max="30"
|
83 |
step="1"
|
84 |
disabled={$generateMap === true}
|
frontend/src/lib/store.ts
CHANGED
@@ -12,7 +12,7 @@ export const selectedParams = writable<Params>({
|
|
12 |
prompt: "Aerial view of rue des Lilas, Toulouse, Haute-Garonne, France",
|
13 |
modifier: PRESETS[0][0],
|
14 |
seed: randomSeed(),
|
15 |
-
steps:
|
16 |
});
|
17 |
|
18 |
export const generateMap = writable<boolean>(false);
|
|
|
12 |
prompt: "Aerial view of rue des Lilas, Toulouse, Haute-Garonne, France",
|
13 |
modifier: PRESETS[0][0],
|
14 |
seed: randomSeed(),
|
15 |
+
steps: 10
|
16 |
});
|
17 |
|
18 |
export const generateMap = writable<boolean>(false);
|