Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -361,14 +361,12 @@ 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 |
-
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 |
|
@@ -380,7 +378,6 @@ def register(state, drawpad):
|
|
380 |
mask_stds=mask_stds,
|
381 |
prompt_strengths=prompt_strengths,
|
382 |
)
|
383 |
-
print('Oh!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
|
384 |
state.inpainting_mode = inpainting_mode
|
385 |
return state
|
386 |
|
|
|
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 |
|
|
|
378 |
mask_stds=mask_stds,
|
379 |
prompt_strengths=prompt_strengths,
|
380 |
)
|
|
|
381 |
state.inpainting_mode = inpainting_mode
|
382 |
return state
|
383 |
|