Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from all_models import models
|
3 |
-
from prompt import thePrompt
|
4 |
from externalmod import gr_Interface_load, save_image, randomize_seed
|
5 |
import asyncio
|
6 |
import os
|
@@ -34,8 +34,8 @@ def load_fn(models):
|
|
34 |
|
35 |
load_fn(models)
|
36 |
|
37 |
-
num_models =
|
38 |
-
max_images =
|
39 |
inference_timeout = 400
|
40 |
default_models = models[:num_models]
|
41 |
MAX_SEED = 2**32-1
|
|
|
1 |
import gradio as gr
|
2 |
from all_models import models
|
3 |
+
from prompt import thePrompt, howManyModelsToUse
|
4 |
from externalmod import gr_Interface_load, save_image, randomize_seed
|
5 |
import asyncio
|
6 |
import os
|
|
|
34 |
|
35 |
load_fn(models)
|
36 |
|
37 |
+
num_models = howManyModelsToUse
|
38 |
+
max_images = howManyModelsToUse
|
39 |
inference_timeout = 400
|
40 |
default_models = models[:num_models]
|
41 |
MAX_SEED = 2**32-1
|