mikegarts commited on
Commit
53bdc8a
1 Parent(s): d523bde

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ with gr.Blocks() as demo:
94
  app_state['status_msg'] = f'Generating step ({step + 1})'
95
 
96
  prompt = prompt + ' masterpiece charcoal pencil art lord of the rings illustration'
97
- img = pipe(prompt, height=512, width=512, num_inference_steps=inference_steps, callback=callback, callback_steps=1)
98
  app_state['running'] = False
99
  app_state['img'] = None
100
  app_state['status_msg'] = ''
 
94
  app_state['status_msg'] = f'Generating step ({step + 1})'
95
 
96
  prompt = prompt + ' masterpiece charcoal pencil art lord of the rings illustration'
97
+ img = pipe(prompt, height=512, width=512, num_inference_steps=inference_steps, callback=callback, callback_steps=2)
98
  app_state['running'] = False
99
  app_state['img'] = None
100
  app_state['status_msg'] = ''