Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,10 +72,12 @@ with gr.Blocks() as demo:
|
|
| 72 |
depth_conditioning_scale = gr.Slider(0, 1, value=0.5, step=0.01, label="Depth Conditioning Scale")
|
| 73 |
|
| 74 |
with gr.Row():
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
|
|
|
|
|
|
| 79 |
|
| 80 |
with gr.Row():
|
| 81 |
result_output = gr.Image(label="Generated Styled Image")
|
|
|
|
| 72 |
depth_conditioning_scale = gr.Slider(0, 1, value=0.5, step=0.01, label="Depth Conditioning Scale")
|
| 73 |
|
| 74 |
with gr.Row():
|
| 75 |
+
with gr.Column():
|
| 76 |
+
prompt = gr.Textbox(label="Style Prompt", placeholder="e.g., Futuristic building in sunset")
|
| 77 |
+
strength = gr.Slider(0.1, 1.0, value=0.7, label="Denoising Strength")
|
| 78 |
+
guidance = gr.Slider(1, 20, value=7.5, label="Guidance Scale (Creativity)")
|
| 79 |
+
with gr.Column():
|
| 80 |
+
generate_img_button = gr.Button("Generate from Image")
|
| 81 |
|
| 82 |
with gr.Row():
|
| 83 |
result_output = gr.Image(label="Generated Styled Image")
|