Linoy Tsaban
commited on
Commit
•
bccbcd8
1
Parent(s):
4737beb
Update app.py
Browse files
app.py
CHANGED
@@ -162,7 +162,7 @@ def edit(input_image,
|
|
162 |
# raise gr.Error("Must invert before editing")
|
163 |
|
164 |
|
165 |
-
|
166 |
x0 = load_512(input_image, device=device)
|
167 |
|
168 |
# invert
|
@@ -229,7 +229,7 @@ For faster inference without waiting in queue, you may duplicate the space and u
|
|
229 |
<a href="https://huggingface.co/spaces/LinoyTsaban/ddpm_sega?duplicate=true">
|
230 |
<img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
|
231 |
<p/>"""
|
232 |
-
with gr.Blocks() as demo:
|
233 |
gr.HTML(intro)
|
234 |
with gr.Row():
|
235 |
src_prompt = gr.Textbox(lines=1, label="Source Prompt", interactive=True, placeholder="optional: describe the original image")
|
|
|
162 |
# raise gr.Error("Must invert before editing")
|
163 |
|
164 |
|
165 |
+
|
166 |
x0 = load_512(input_image, device=device)
|
167 |
|
168 |
# invert
|
|
|
229 |
<a href="https://huggingface.co/spaces/LinoyTsaban/ddpm_sega?duplicate=true">
|
230 |
<img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
|
231 |
<p/>"""
|
232 |
+
with gr.Blocks(css='style.css') as demo:
|
233 |
gr.HTML(intro)
|
234 |
with gr.Row():
|
235 |
src_prompt = gr.Textbox(lines=1, label="Source Prompt", interactive=True, placeholder="optional: describe the original image")
|