Spaces:
Build error
Build error
Nupur Kumari
commited on
Commit
·
98f17d6
1
Parent(s):
e417d7a
custom-diffusion-space
Browse files
app.py
CHANGED
|
@@ -76,8 +76,8 @@ def create_training_demo(trainer: Trainer,
|
|
| 76 |
class_prompt = gr.Textbox(label='Regularization set Prompt',
|
| 77 |
max_lines=1, placeholder='Example: "cat"')
|
| 78 |
gr.Markdown('''
|
| 79 |
-
- Use "\<new1\>" appended in front of the concept
|
| 80 |
-
- For a new concept e.g. concept_prompt is "photo of a \<new1\> cat" and "cat" for class_prompt.
|
| 81 |
- For a style concept, use "painting in the style of \<new1\> art" for concept_prompt and "art" for class_prompt.
|
| 82 |
''')
|
| 83 |
with gr.Box():
|
|
|
|
| 76 |
class_prompt = gr.Textbox(label='Regularization set Prompt',
|
| 77 |
max_lines=1, placeholder='Example: "cat"')
|
| 78 |
gr.Markdown('''
|
| 79 |
+
- Use "\<new1\>" appended in front of the concept, e.g., "\<new1\> cat", if modifier_token is enabled.
|
| 80 |
+
- For a new concept an e.g. concept_prompt is "photo of a \<new1\> cat" and "cat" for class_prompt.
|
| 81 |
- For a style concept, use "painting in the style of \<new1\> art" for concept_prompt and "art" for class_prompt.
|
| 82 |
''')
|
| 83 |
with gr.Box():
|