Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -47,12 +47,16 @@ def save_image(image):
|
|
47 |
|
48 |
|
49 |
with gr.Blocks() as demo:
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
|
|
|
|
|
|
|
|
56 |
|
57 |
# μ€νμ΄μ€μ μλ μμ μ΄λ―Έμ§ νμΌ κ²½λ‘
|
58 |
example_image1 = "example_images/example1.jpg"
|
|
|
47 |
|
48 |
|
49 |
with gr.Blocks() as demo:
|
50 |
+
with gr.Row():
|
51 |
+
with gr.Column(scale=1):
|
52 |
+
image = gr.Image(label="Upload an image")
|
53 |
+
text = gr.Textbox(label="Paste an image URL")
|
54 |
+
download_button = gr.Button("Download Image")
|
55 |
+
output_file = gr.File()
|
56 |
+
|
57 |
+
with gr.Column(scale=2):
|
58 |
+
slider1 = ImageSlider(label="Processed Image", type="pil")
|
59 |
+
slider2 = ImageSlider(label="Original Image", type="pil")
|
60 |
|
61 |
# μ€νμ΄μ€μ μλ μμ μ΄λ―Έμ§ νμΌ κ²½λ‘
|
62 |
example_image1 = "example_images/example1.jpg"
|