Spaces:
Runtime error
Runtime error
Linoy Tsaban
commited on
Commit
•
35c6732
1
Parent(s):
8765d26
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,6 @@ def get_example():
|
|
65 |
3.5,
|
66 |
36,
|
67 |
15,
|
68 |
-
'Examples/gnochi_mirror_reconstrcution.png',
|
69 |
'Examples/gnochi_mirror_watercolor_painting.png',
|
70 |
],]
|
71 |
return case
|
@@ -133,6 +132,8 @@ with gr.Blocks() as demo:
|
|
133 |
output_image = gr.Image(label=f"Edited Image", interactive=False)
|
134 |
output_image.style(height=512, width=512)
|
135 |
|
|
|
|
|
136 |
|
137 |
with gr.Row():
|
138 |
# with gr.Column(scale=1, min_width=100):
|
@@ -142,8 +143,6 @@ with gr.Blocks() as demo:
|
|
142 |
with gr.Column(scale=1, min_width=100):
|
143 |
edit_button = gr.Button("Run")
|
144 |
|
145 |
-
with gr.Row():
|
146 |
-
tar_prompt = gr.Textbox(lines=1, label="Target Prompt", interactive=True, placeholder="optional: describe the target image")
|
147 |
|
148 |
|
149 |
with gr.Accordion("Advanced Options", open=False):
|
|
|
65 |
3.5,
|
66 |
36,
|
67 |
15,
|
|
|
68 |
'Examples/gnochi_mirror_watercolor_painting.png',
|
69 |
],]
|
70 |
return case
|
|
|
132 |
output_image = gr.Image(label=f"Edited Image", interactive=False)
|
133 |
output_image.style(height=512, width=512)
|
134 |
|
135 |
+
with gr.Row():
|
136 |
+
tar_prompt = gr.Textbox(lines=1, label="Describe the image yout want", interactive=True, placeholder="tip: use concepts from the original image for the description")
|
137 |
|
138 |
with gr.Row():
|
139 |
# with gr.Column(scale=1, min_width=100):
|
|
|
143 |
with gr.Column(scale=1, min_width=100):
|
144 |
edit_button = gr.Button("Run")
|
145 |
|
|
|
|
|
146 |
|
147 |
|
148 |
with gr.Accordion("Advanced Options", open=False):
|