gparmar commited on
Commit
2939dde
1 Parent(s): 896183f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -254,6 +254,13 @@ with gr.Blocks(css="style.css") as demo:
254
  gr.Markdown("## OUTPUT", elem_id="output_header")
255
  result = gr.Image(label="Result", height=440, width=440, elem_id="output_image", show_label=False, show_download_button=True)
256
  download_output = gr.Button("Download output", elem_id="download_output")
 
 
 
 
 
 
 
257
 
258
  eraser.change(fn=lambda x: gr.update(value=not x), inputs=[eraser], outputs=[line], queue=False, api_name=False).then(update_canvas, [line, eraser], [image])
259
  line.change(fn=lambda x: gr.update(value=not x), inputs=[line], outputs=[eraser], queue=False, api_name=False).then(update_canvas, [line, eraser], [image])
 
254
  gr.Markdown("## OUTPUT", elem_id="output_header")
255
  result = gr.Image(label="Result", height=440, width=440, elem_id="output_image", show_label=False, show_download_button=True)
256
  download_output = gr.Button("Download output", elem_id="download_output")
257
+ gr.Markdown("### Instructions")
258
+ gr.Markdown("**1**. Enter a text prompt.")
259
+ gr.Markdown("**2**. Sketch the image you want to draw")
260
+ gr.Markdown("**3**. Select the style of the image with the Prompt Style Template")
261
+ gr.Markdown("**4**. Adjust the Sketch guidance gamma to control the influence of the sketch on the final image")
262
+ gr.Markdown("**5**. Try different seeds to get different results")
263
+
264
 
265
  eraser.change(fn=lambda x: gr.update(value=not x), inputs=[eraser], outputs=[line], queue=False, api_name=False).then(update_canvas, [line, eraser], [image])
266
  line.change(fn=lambda x: gr.update(value=not x), inputs=[line], outputs=[eraser], queue=False, api_name=False).then(update_canvas, [line, eraser], [image])