Uthar commited on
Commit
a89724e
·
verified ·
1 Parent(s): b97bb18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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 = 4
38
- max_images = num_models
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