Zeyu Zhao commited on
Commit
0c91a5e
·
1 Parent(s): 6170a1e
Files changed (1) hide show
  1. app.py +13 -19
app.py CHANGED
@@ -202,26 +202,20 @@ 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
- "3. Click on the **Run** button to generate image in the Final Image."
210
- )
211
- gr.Markdown(
212
- "4. You may then select a frame by the Frame Selector and click on **Apply** to apply the selected frame to the Sketchpad."
213
- )
214
- gr.Markdown(
215
- "5. You may then modify the sketches and click on **Run** again to generate new images."
216
- )
217
- gr.Markdown(
218
- "6. Repeat steps 4 and 5 to generate new images until you are satisfied with the result."
219
- )
220
- gr.Markdown(
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
  frame_result = gr.Image(
 
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
+
209
+ 1. Enter a text prompt (e.g. cat).
210
+ 2. Draw some sketches on the Sketchpad.
211
+ 3. Click on the **Run** button to generate image in the Final Image.
212
+ 4. You may then select a frame by the Frame Selector and click on **Apply** to apply the selected frame to the Sketchpad.
213
+ 5. You may then modify the sketches and click on **Run** again to generate new images.
214
+ 6. Repeat steps 4 and 5 to generate new images until you are satisfied with the result.
215
+ 7. To restart from scratch, click on the **Bin Icon** on the top right corner of the sketchpad
216
+
217
+ **Thanks to the [paper](https://arxiv.org/abs/2403.12036) and their open-sourced models!**
218
+ """
 
 
 
219
  )
220
 
221
  frame_result = gr.Image(