asahi417 commited on
Commit
6df41b7
·
verified ·
1 Parent(s): 01083a0

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +6 -8
app.py CHANGED
@@ -57,12 +57,12 @@ with gr.Blocks() as demo:
57
  gr.Markdown("# Demo [Depth2Image](https://huggingface.co/stabilityai/stable-diffusion-2-depth) with depth map estimated by [Depth Anything V2](https://huggingface.co/depth-anything/Depth-Anything-V2-Large-hf)")
58
  with gr.Row():
59
  prompt = gr.Text(
60
- label="Prompt",
61
- show_label=True,
62
- max_lines=1,
63
- placeholder="Enter your prompt",
64
- container=False,
65
- )
66
  run_button = gr.Button("Run", scale=0)
67
  with gr.Row():
68
  init_image = gr.Image(label="Input Image", type='numpy')
@@ -120,6 +120,4 @@ with gr.Blocks() as demo:
120
  examples = gr.Examples(
121
  examples=example_files, inputs=[init_image], outputs=[result, seed]
122
  )
123
-
124
-
125
  demo.queue().launch()
 
57
  gr.Markdown("# Demo [Depth2Image](https://huggingface.co/stabilityai/stable-diffusion-2-depth) with depth map estimated by [Depth Anything V2](https://huggingface.co/depth-anything/Depth-Anything-V2-Large-hf)")
58
  with gr.Row():
59
  prompt = gr.Text(
60
+ label="Prompt",
61
+ show_label=True,
62
+ max_lines=1,
63
+ placeholder="Enter your prompt",
64
+ container=False,
65
+ )
66
  run_button = gr.Button("Run", scale=0)
67
  with gr.Row():
68
  init_image = gr.Image(label="Input Image", type='numpy')
 
120
  examples = gr.Examples(
121
  examples=example_files, inputs=[init_image], outputs=[result, seed]
122
  )
 
 
123
  demo.queue().launch()