Update app.py
Browse files
app.py
CHANGED
|
@@ -94,7 +94,7 @@ with gr.Blocks() as demo:
|
|
| 94 |
app_state['img'] = res
|
| 95 |
app_state['step'] = step
|
| 96 |
app_state['img_list'].append(res)
|
| 97 |
-
app_state['status_msg'] = f'Generating state {step}'
|
| 98 |
|
| 99 |
prompt = prompt + ' masterpiece charcoal pencil art lord of the rings illustration'
|
| 100 |
img = pipe(prompt, height=512, width=512, num_inference_steps=inference_steps, callback=callback, callback_steps=1)
|
|
@@ -151,4 +151,3 @@ if READ_TOKEN:
|
|
| 151 |
demo.queue().launch()
|
| 152 |
else:
|
| 153 |
demo.queue().launch(share=True, debug=True)
|
| 154 |
-
|
|
|
|
| 94 |
app_state['img'] = res
|
| 95 |
app_state['step'] = step
|
| 96 |
app_state['img_list'].append(res)
|
| 97 |
+
app_state['status_msg'] = f'Generating state {step + 1}'
|
| 98 |
|
| 99 |
prompt = prompt + ' masterpiece charcoal pencil art lord of the rings illustration'
|
| 100 |
img = pipe(prompt, height=512, width=512, num_inference_steps=inference_steps, callback=callback, callback_steps=1)
|
|
|
|
| 151 |
demo.queue().launch()
|
| 152 |
else:
|
| 153 |
demo.queue().launch(share=True, debug=True)
|
|
|