multimodalart HF staff commited on
Commit
dcdc0f0
1 Parent(s): 76c4247

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def swap_text(option, base):
51
  instance_prompt_example = "julcto"
52
  freeze_for = 70
53
  show_prior_preservation = True if base != "v2-768" else False
54
- return [f"You are going to train a `person`(s), upload 10-20 images of each person you are planning on training on from different angles/perspectives. You can use services like <a style='text-decoration: underline' target='_blank' href='https://www.birme.net/?target_width={resize_width}&target_height={resize_width}'>birme</a> for smart cropping. {mandatory_liability}:", '''<img src="file/person.png" />''', f"You should name your concept with a unique made up word that has low chance of the model already knowing it (e.g.: `{instance_prompt_example}` here). Images will be automatically cropped to {resize_width}x{resize_width}.", freeze_for, gr.update(visible=True)]
55
  elif(option == "style"):
56
  instance_prompt_example = "trsldamrl"
57
  freeze_for = 10
 
51
  instance_prompt_example = "julcto"
52
  freeze_for = 70
53
  show_prior_preservation = True if base != "v2-768" else False
54
+ return [f"You are going to train a `person`(s), upload 10-20 images of each person you are planning on training on from different angles/perspectives. You can use services like <a style='text-decoration: underline' target='_blank' href='https://www.birme.net/?target_width={resize_width}&target_height={resize_width}'>birme</a> for smart cropping. {mandatory_liability}:", '''<img src="file/person.png" />''', f"You should name your concept with a unique made up word that has low chance of the model already knowing it (e.g.: `{instance_prompt_example}` here). Images will be automatically cropped to {resize_width}x{resize_width}.", freeze_for, gr.update(visible=show_prior_preservation)]
55
  elif(option == "style"):
56
  instance_prompt_example = "trsldamrl"
57
  freeze_for = 10