Spaces:
Running
on
Zero
Running
on
Zero
Zeyu Zhao
commited on
Commit
·
fac2d74
1
Parent(s):
1c385ff
Changes.
Browse files
app.py
CHANGED
@@ -202,26 +202,19 @@ with gr.Blocks() as demo:
|
|
202 |
run_button = gr.Button("Run", scale=1)
|
203 |
randomize_seed = gr.Button("Random", scale=1, visible=False)
|
204 |
|
205 |
-
gr.Markdown("### Instructions")
|
206 |
-
gr.Markdown("1. Enter a text prompt (e.g. cat).")
|
207 |
-
gr.Markdown("2. Draw some sketches on the Sketchpad.")
|
208 |
gr.Markdown(
|
209 |
-
"
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
"7. To restart from scratch, click on the **Bin Icon** on the top right corner of the Sketchpad."
|
222 |
-
)
|
223 |
-
gr.Markdown(
|
224 |
-
"**Thanks to the [paper](https://arxiv.org/abs/2403.12036) and their open-sourced models!**"
|
225 |
)
|
226 |
|
227 |
with gr.Column(scale=1):
|
|
|
202 |
run_button = gr.Button("Run", scale=1)
|
203 |
randomize_seed = gr.Button("Random", scale=1, visible=False)
|
204 |
|
|
|
|
|
|
|
205 |
gr.Markdown(
|
206 |
+
"""
|
207 |
+
### Instructions
|
208 |
+
1. Enter a text prompt (e.g. cat).
|
209 |
+
2. Draw some sketches on the Sketchpad.
|
210 |
+
3. Click on the **Run** button to generate image and sketches in the Final Image and Sketch Outputs, respectively.
|
211 |
+
4. You may then select a frame by the Frame Selector and click on **Apply** to apply the selected frame to the Sketchpad.
|
212 |
+
5. You may then modify the sketches based on the applied frame and click on **Run** again to generate new images and sketches.
|
213 |
+
6. Repeat steps 4 and 5 to generate new images and sketches until you are satisfied with the result.
|
214 |
+
7. To restart from scratch, click on the **Bin Icon** on the top right corner of the Sketchpad.
|
215 |
+
|
216 |
+
**Thanks to the [paper](https://arxiv.org/abs/2403.12036) and their open-sourced models!**
|
217 |
+
"""
|
|
|
|
|
|
|
|
|
218 |
)
|
219 |
|
220 |
with gr.Column(scale=1):
|