susunghong commited on
Commit
5da027f
1 Parent(s): a48b4d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +25 -27
app.py CHANGED
@@ -23,30 +23,30 @@ examples = [
23
  7.5,
24
  1.0,
25
  ],
26
- # [
27
- # '.',
28
- # 50,
29
- # False,
30
- # 1,
31
- # 7.5,
32
- # 1.0,
33
- # ],
34
- # [
35
- # 'A cute Scottish Fold playing with a ball',
36
- # 50,
37
- # False,
38
- # 8978,
39
- # 5.0,
40
- # 1.0,
41
- # ],
42
- # [
43
- # 'A person with a happy dog',
44
- # 50,
45
- # False,
46
- # 8978,
47
- # 5.0,
48
- # 1.0,
49
- # ],
50
  ]
51
 
52
 
@@ -123,9 +123,7 @@ def main():
123
  sag_scale,
124
  ],
125
  outputs=[seed, ori_image, sag_image],
126
- cache_examples=True,
127
- preprocess=True,
128
- postprocess=False
129
  )
130
 
131
  gr.Markdown(help_text)
 
23
  7.5,
24
  1.0,
25
  ],
26
+ [
27
+ '.',
28
+ 50,
29
+ False,
30
+ 1,
31
+ 7.5,
32
+ 1.0,
33
+ ],
34
+ [
35
+ 'A cute Scottish Fold playing with a ball',
36
+ 50,
37
+ False,
38
+ 123,
39
+ 5.0,
40
+ 1.0,
41
+ ],
42
+ [
43
+ 'A person with a happy dog',
44
+ 50,
45
+ False,
46
+ 456,
47
+ 5.0,
48
+ 1.0,
49
+ ],
50
  ]
51
 
52
 
 
123
  sag_scale,
124
  ],
125
  outputs=[seed, ori_image, sag_image],
126
+ cache_examples=False,
 
 
127
  )
128
 
129
  gr.Markdown(help_text)