Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
·
c37a174
1
Parent(s):
8cd26eb
Update app.py
Browse files
app.py
CHANGED
|
@@ -180,9 +180,6 @@ For faster inference without waiting in queue, you may duplicate the space and u
|
|
| 180 |
<p/>"""
|
| 181 |
with gr.Blocks() as demo:
|
| 182 |
gr.HTML(intro)
|
| 183 |
-
with gr.Row():
|
| 184 |
-
src_prompt = gr.Textbox(lines=1, label="Source Prompt", interactive=True, placeholder="optional: describe the original image")
|
| 185 |
-
tar_prompt = gr.Textbox(lines=1, label="Target Prompt", interactive=True, placeholder="optional: describe the target image")
|
| 186 |
|
| 187 |
with gr.Row():
|
| 188 |
input_image = gr.Image(label="Input Image", interactive=True)
|
|
@@ -201,11 +198,15 @@ with gr.Blocks() as demo:
|
|
| 201 |
with gr.Column(scale=1, min_width=100):
|
| 202 |
edit_button = gr.Button("Run")
|
| 203 |
|
|
|
|
|
|
|
|
|
|
| 204 |
|
| 205 |
with gr.Accordion("Advanced Options", open=False):
|
| 206 |
with gr.Row():
|
| 207 |
with gr.Column():
|
| 208 |
#inversion
|
|
|
|
| 209 |
steps = gr.Number(value=100, precision=0, label="Num Diffusion Steps", interactive=True)
|
| 210 |
cfg_scale_src = gr.Slider(minimum=1, maximum=15, value=3.5, label=f"Source Guidance Scale", interactive=True)
|
| 211 |
|
|
|
|
| 180 |
<p/>"""
|
| 181 |
with gr.Blocks() as demo:
|
| 182 |
gr.HTML(intro)
|
|
|
|
|
|
|
|
|
|
| 183 |
|
| 184 |
with gr.Row():
|
| 185 |
input_image = gr.Image(label="Input Image", interactive=True)
|
|
|
|
| 198 |
with gr.Column(scale=1, min_width=100):
|
| 199 |
edit_button = gr.Button("Run")
|
| 200 |
|
| 201 |
+
with gr.Row():
|
| 202 |
+
tar_prompt = gr.Textbox(lines=1, label="Target Prompt", interactive=True, placeholder="optional: describe the target image")
|
| 203 |
+
|
| 204 |
|
| 205 |
with gr.Accordion("Advanced Options", open=False):
|
| 206 |
with gr.Row():
|
| 207 |
with gr.Column():
|
| 208 |
#inversion
|
| 209 |
+
src_prompt = gr.Textbox(lines=1, label="Source Prompt", interactive=True, placeholder="optional: describe the original image")
|
| 210 |
steps = gr.Number(value=100, precision=0, label="Num Diffusion Steps", interactive=True)
|
| 211 |
cfg_scale_src = gr.Slider(minimum=1, maximum=15, value=3.5, label=f"Source Guidance Scale", interactive=True)
|
| 212 |
|