Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ import gradio as gr
|
|
14 |
dataset = load_dataset("thefcraft/civitai-stable-diffusion-337k")
|
15 |
|
16 |
# Take a subset of the dataset
|
17 |
-
subset_size =
|
18 |
dataset_subset = dataset['train'].shuffle(seed=42).select(range(subset_size))
|
19 |
|
20 |
# Directory to save images
|
|
|
14 |
dataset = load_dataset("thefcraft/civitai-stable-diffusion-337k")
|
15 |
|
16 |
# Take a subset of the dataset
|
17 |
+
subset_size = 2700 # Reduce the subset size for faster execution in Spaces
|
18 |
dataset_subset = dataset['train'].shuffle(seed=42).select(range(subset_size))
|
19 |
|
20 |
# Directory to save images
|