valhalla commited on
Commit
f572681
1 Parent(s): 58672d9

Update app_base.py

Browse files
Files changed (1) hide show
  1. app_base.py +0 -6
app_base.py CHANGED
@@ -8,12 +8,6 @@ from utils import MAX_SEED, randomize_seed_fn, styles, style_names, apply_style
8
 
9
 
10
  default_style_name = "Photographic"
11
- default_style = styles[default_style_name]
12
-
13
-
14
- def apply_style(style_name: str, positive: str, negative: str = "") -> tuple[str, str]:
15
- p, n = styles.get(style_name, default_style)
16
- return p.replace("{prompt}", positive), n + negative
17
 
18
 
19
  def create_demo(model: Model) -> gr.Blocks:
 
8
 
9
 
10
  default_style_name = "Photographic"
 
 
 
 
 
 
11
 
12
 
13
  def create_demo(model: Model) -> gr.Blocks: