mikegarts commited on
Commit
83e7b47
·
1 Parent(s): 5123446

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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)