ironjr commited on
Commit
9166fd2
·
verified ·
1 Parent(s): 19ffead

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -361,12 +361,14 @@ def register(state, drawpad):
361
 
362
  # prompts, negative_prompts = preprocess_prompts(
363
  # prompts, negative_prompts, style_name=state.style_name, quality_name=state.quality_name)
 
364
 
365
  model.update_background(
366
  background.convert('RGB'),
367
  prompt=None,
368
  negative_prompt=None,
369
  )
 
370
  state.prompts[0] = model.background.prompt
371
  state.neg_prompts[0] = model.background.negative_prompt
372
 
@@ -394,7 +396,6 @@ def run(state, drawpad):
394
  state.is_running = True
395
 
396
  tic = time.time()
397
- print('Wow!')
398
  while True:
399
  yield [state, generate()]
400
  toc = time.time()
 
361
 
362
  # prompts, negative_prompts = preprocess_prompts(
363
  # prompts, negative_prompts, style_name=state.style_name, quality_name=state.quality_name)
364
+ print('Hey!!!!')
365
 
366
  model.update_background(
367
  background.convert('RGB'),
368
  prompt=None,
369
  negative_prompt=None,
370
  )
371
+ print('Hey!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
372
  state.prompts[0] = model.background.prompt
373
  state.neg_prompts[0] = model.background.negative_prompt
374
 
 
396
  state.is_running = True
397
 
398
  tic = time.time()
 
399
  while True:
400
  yield [state, generate()]
401
  toc = time.time()