Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
·
0130b22
1
Parent(s):
fb716a5
Update app.py
Browse files
app.py
CHANGED
@@ -124,9 +124,6 @@ with gr.Blocks(css='style.css') as demo:
|
|
124 |
wt = gr.State(value=wt)
|
125 |
zs = gr.State(value=zs)
|
126 |
wts = gr.State(value=wts)
|
127 |
-
output = sample(wt, zs, wts, prompt_tar=src_prompt, cfg_scale_tar=cfg_scale_tar, skip=skip)
|
128 |
-
return output
|
129 |
-
|
130 |
|
131 |
output = sample(wt, zs, wts, prompt_tar=tar_prompt, cfg_scale_tar=cfg_scale_tar, skip=skip)
|
132 |
|
@@ -143,7 +140,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
143 |
output_image.style(height=512, width=512)
|
144 |
|
145 |
with gr.Row():
|
146 |
-
tar_prompt = gr.Textbox(lines=1, label="Describe your desired edited output
|
147 |
|
148 |
with gr.Row():
|
149 |
with gr.Column(scale=1, min_width=100):
|
|
|
124 |
wt = gr.State(value=wt)
|
125 |
zs = gr.State(value=zs)
|
126 |
wts = gr.State(value=wts)
|
|
|
|
|
|
|
127 |
|
128 |
output = sample(wt, zs, wts, prompt_tar=tar_prompt, cfg_scale_tar=cfg_scale_tar, skip=skip)
|
129 |
|
|
|
140 |
output_image.style(height=512, width=512)
|
141 |
|
142 |
with gr.Row():
|
143 |
+
tar_prompt = gr.Textbox(lines=1, label="Describe your desired edited output", interactive=True)
|
144 |
|
145 |
with gr.Row():
|
146 |
with gr.Column(scale=1, min_width=100):
|