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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -72,12 +72,11 @@ 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
- 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")
 
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
+ generate_img_button = gr.Button("Generate from Image")
77
+ with gr.Row():
78
+ strength = gr.Slider(0.1, 1.0, value=0.7, label="Denoising Strength")
79
+ guidance = gr.Slider(1, 20, value=7.5, label="Guidance Scale (Creativity)")
 
80
 
81
  with gr.Row():
82
  result_output = gr.Image(label="Generated Styled Image")