Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -98,18 +98,10 @@ def infer_example(input_image, prompt):
|
|
98 |
title = "# Image to Image AI Editor"
|
99 |
description = "Your Image-to-Image AI editor. Just describe changes (‘brighter, remove object, cartoon style’) and let the AI handle the rest—no Photoshop skills needed. Try the stable version at [Image to Image AI Generator](https://www.image2image.ai)."
|
100 |
|
101 |
-
|
102 |
-
css="""
|
103 |
-
#col-container {
|
104 |
-
margin: 0 auto;
|
105 |
-
max-width: 960px;
|
106 |
-
}
|
107 |
-
"""
|
108 |
-
|
109 |
with gr.Blocks(css=css) as demo:
|
110 |
gr.Markdown(title)
|
111 |
gr.Markdown(description)
|
112 |
-
with gr.Column(
|
113 |
with gr.Row():
|
114 |
with gr.Column():
|
115 |
input_image = gr.Image(label="Upload the image for editing", type="pil")
|
|
|
98 |
title = "# Image to Image AI Editor"
|
99 |
description = "Your Image-to-Image AI editor. Just describe changes (‘brighter, remove object, cartoon style’) and let the AI handle the rest—no Photoshop skills needed. Try the stable version at [Image to Image AI Generator](https://www.image2image.ai)."
|
100 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
with gr.Blocks(css=css) as demo:
|
102 |
gr.Markdown(title)
|
103 |
gr.Markdown(description)
|
104 |
+
with gr.Column():
|
105 |
with gr.Row():
|
106 |
with gr.Column():
|
107 |
input_image = gr.Image(label="Upload the image for editing", type="pil")
|