Upload folder using huggingface_hub
Browse files
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 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
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()
|