ar0551 commited on
Commit
873a33a
·
verified ·
1 Parent(s): 4601988

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
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
- prompt = gr.Textbox(label="Style Prompt", placeholder="e.g., Futuristic building in sunset")
76
- strength = gr.Slider(0.1, 1.0, value=0.7, label="Denoising Strength")
77
- guidance = gr.Slider(1, 20, value=7.5, label="Guidance Scale (Creativity)")
78
- generate_img_button = gr.Button("Generate from Image")
 
 
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")