radames HF staff commited on
Commit
2265388
1 Parent(s): e3ce2d3

depth exampls

Browse files
app.py CHANGED
@@ -57,7 +57,10 @@ def predict(input_image, prompt, negative_prompt, steps, num_samples, scale, see
57
  block = gr.Blocks().queue()
58
  with block:
59
  with gr.Row():
60
- gr.Markdown("## Stable Diffusion 2 Depth2Img")
 
 
 
61
 
62
  with gr.Row():
63
  with gr.Column():
@@ -94,7 +97,10 @@ with block:
94
  ["./examples/baby.jpg", "high definition photo of a baby astronaut space walking at the international space station with earth seeing from above in the background",
95
  "", 50, 4, 9.0, 123123123, 0.8, None],
96
  ["./examples/gol.jpg", "professional photo of a Elmo jumping between two high rises, beautiful colorful city landscape in the background",
97
- "", 50, 4, 9.0, 1734133747, 0.9, None]
 
 
 
98
  ],
99
  inputs=[input_image, prompt, negative_prompt, steps,
100
  num_samples, scale, seed, strength, depth_image],
57
  block = gr.Blocks().queue()
58
  with block:
59
  with gr.Row():
60
+ with gr.Column():
61
+ gr.Markdown("## Stable Diffusion 2 Depth2Img")
62
+ gr.HTML("<p><a href='https://huggingface.co/spaces/radames/stable-diffusion-depth2img?duplicate=true'><img src='https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14' alt='Duplicate Space'></a></p>")
63
+
64
 
65
  with gr.Row():
66
  with gr.Column():
97
  ["./examples/baby.jpg", "high definition photo of a baby astronaut space walking at the international space station with earth seeing from above in the background",
98
  "", 50, 4, 9.0, 123123123, 0.8, None],
99
  ["./examples/gol.jpg", "professional photo of a Elmo jumping between two high rises, beautiful colorful city landscape in the background",
100
+ "", 50, 4, 9.0, 1734133747, 0.9, None],
101
+ ["./examples/bag.jpg", "a photo of a bag of cookies in the bathroom", "low light, dark, blurry", 50, 4, 9.0, 1734133747, 0.9, "./examples/depth.jpg"],
102
+ ["./examples/smile_face.jpg", "a hand holding a very spherical orange", "low light, dark, blurry", 50, 4, 6.0, 961736534, 0.5, "./examples/smile_depth.jpg"]
103
+
104
  ],
105
  inputs=[input_image, prompt, negative_prompt, steps,
106
  num_samples, scale, seed, strength, depth_image],
examples/bag.jpg ADDED
examples/depth.jpg ADDED
examples/smile_depth.jpg ADDED
examples/smile_face.jpg ADDED