tombetthauser commited on
Commit
453901b
Β·
1 Parent(s): c7fcd76

Added default empty string to dropdowns

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -217,14 +217,15 @@ import random
217
  #@title Gradio Concept Loader
218
  DROPDOWNS = {}
219
 
 
 
 
 
220
  for model in model_tags:
221
  if model != "ahx-model-1" and model != "ahx-model-2":
222
  DROPDOWNS[model] = f" in the style of <{model}>"
223
 
224
- # def image_prompt(prompt, dropdown, guidance, steps, seed, height, width):
225
-
226
-
227
-
228
  def default_guidance():
229
  return 7.5
230
 
 
217
  #@title Gradio Concept Loader
218
  DROPDOWNS = {}
219
 
220
+ # set a default for empty entries...
221
+ DROPDOWNS[''] = ''
222
+
223
+ # populate the dropdowns with full appendable style strings...
224
  for model in model_tags:
225
  if model != "ahx-model-1" and model != "ahx-model-2":
226
  DROPDOWNS[model] = f" in the style of <{model}>"
227
 
228
+ # set pipe param defaults...
 
 
 
229
  def default_guidance():
230
  return 7.5
231