Commit
•
6409531
1
Parent(s):
188d396
Remove renaming reference
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def swap_text(option, base):
|
|
63 |
elif(option == "style"):
|
64 |
instance_prompt_example = "trsldamrl"
|
65 |
freeze_for = 10
|
66 |
-
return [f"You are going to train a `style`, upload 10-20 images of the style you are planning on training on. 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.
|
67 |
|
68 |
def swap_base_model(selected_model):
|
69 |
if(is_gpu_associated):
|
|
|
63 |
elif(option == "style"):
|
64 |
instance_prompt_example = "trsldamrl"
|
65 |
freeze_for = 10
|
66 |
+
return [f"You are going to train a `style`, upload 10-20 images of the style you are planning on training on. 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/trsl_style.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=False)]
|
67 |
|
68 |
def swap_base_model(selected_model):
|
69 |
if(is_gpu_associated):
|