Upload folder using huggingface_hub
Browse files
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=
|
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=
|
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()
|