Update app.py
Browse files
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=
|
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'] = ''
|