Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
ce51fdb
1
Parent(s):
dd72831
Update app.py
Browse files
app.py
CHANGED
@@ -69,10 +69,20 @@ with gr.Blocks(css=css) as demo:
|
|
69 |
gr.Markdown("# FLUX.1 Studio Ghibli LoRA")
|
70 |
gr.Markdown(
|
71 |
"LoRA fine-tune of [FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev)"
|
72 |
-
" with [alvarobartt/ghibli-characters](https://huggingface.co/datasets/alvarobartt/ghibli-characters)
|
73 |
-
"License is non-commercial for both FLUX.1-dev and the Studio Ghibli dataset."
|
74 |
)
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
with gr.Row():
|
77 |
prompt = gr.Text(
|
78 |
label="Prompt",
|
@@ -147,7 +157,11 @@ with gr.Blocks(css=css) as demo:
|
|
147 |
run_on_click=True,
|
148 |
)
|
149 |
|
150 |
-
gr.Markdown(
|
|
|
|
|
|
|
|
|
151 |
|
152 |
gr.on(
|
153 |
triggers=[run_button.click, prompt.submit],
|
|
|
69 |
gr.Markdown("# FLUX.1 Studio Ghibli LoRA")
|
70 |
gr.Markdown(
|
71 |
"LoRA fine-tune of [FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev)"
|
72 |
+
" with [alvarobartt/ghibli-characters](https://huggingface.co/datasets/alvarobartt/ghibli-characters)."
|
|
|
73 |
)
|
74 |
|
75 |
+
with gr.Accordion("How to generate nice prompts?"):
|
76 |
+
gr.Markdown(
|
77 |
+
"To generate high-quality prompts what worked the best for me was to prompt"
|
78 |
+
" Anthropic Claude with the following: \"You are an expert prompt writer for"
|
79 |
+
" diffusion models, and you've been provided the following prompt template:\n"
|
80 |
+
"```text\nGhibli style [character description] with [distinctive features],"
|
81 |
+
" [action or pose], [environment or background], [lighting or atmosphere],"
|
82 |
+
" [additional details]\n```\n\nCould you generate a prompt following that template"
|
83 |
+
" to generate [CHARACTER NAME] as a Studio Ghibli character? [MORE DETAILS IF NEEDED]\""
|
84 |
+
)
|
85 |
+
|
86 |
with gr.Row():
|
87 |
prompt = gr.Text(
|
88 |
label="Prompt",
|
|
|
157 |
run_on_click=True,
|
158 |
)
|
159 |
|
160 |
+
gr.Markdown(
|
161 |
+
"### Disclaimer\n\n"
|
162 |
+
"License is non-commercial for both FLUX.1-dev and the Studio Ghibli dataset;"
|
163 |
+
" but free to use for personal and non-commercial purposes."
|
164 |
+
)
|
165 |
|
166 |
gr.on(
|
167 |
triggers=[run_button.click, prompt.submit],
|