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

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -54,11 +54,11 @@ def infer(
54
 
55
 
56
  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=False,
62
  max_lines=1,
63
  placeholder="Enter your prompt",
64
  container=False,
@@ -109,7 +109,7 @@ with gr.Blocks() as demo:
109
  minimum=1,
110
  maximum=50,
111
  step=1,
112
- value=5,
113
  )
114
  gr.on(
115
  triggers=[run_button.click, prompt.submit, negative_prompt.submit],
@@ -122,4 +122,4 @@ with gr.Blocks() as demo:
122
  )
123
 
124
 
125
- demo.queue().launch()
 
54
 
55
 
56
  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,
 
109
  minimum=1,
110
  maximum=50,
111
  step=1,
112
+ value=50,
113
  )
114
  gr.on(
115
  triggers=[run_button.click, prompt.submit, negative_prompt.submit],
 
122
  )
123
 
124
 
125
+ demo.queue().launch()