ash123 commited on
Commit
42bdbc7
1 Parent(s): 72d3b5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -108,6 +108,8 @@ css = """
108
  #advanced-btn {
109
  font-size: .7rem !important;
110
  line-height: 19px;
 
 
111
  margin-top: 12px;
112
  margin-bottom: 12px;
113
  padding: 2px 8px;
@@ -280,7 +282,8 @@ with block as demo:
280
  inputs=[prompt_input, negative,
281
  inf_steps_input, seed_input, guidance_scale],
282
  outputs=[gallery],
283
- cache_examples=False)
 
284
  ex.dataset.headers = [""]
285
 
286
  share_button = gr.Button("Share to community",elem_classes="share_button")
 
108
  #advanced-btn {
109
  font-size: .7rem !important;
110
  line-height: 19px;
111
+ cache_examples=True,
112
+ postprocess=False)
113
  margin-top: 12px;
114
  margin-bottom: 12px;
115
  padding: 2px 8px;
 
282
  inputs=[prompt_input, negative,
283
  inf_steps_input, seed_input, guidance_scale],
284
  outputs=[gallery],
285
+ cache_examples=True,
286
+ postprocess=False)
287
  ex.dataset.headers = [""]
288
 
289
  share_button = gr.Button("Share to community",elem_classes="share_button")