Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,8 +44,22 @@ iface = gr.Interface(
|
|
44 |
.gr-button:hover {
|
45 |
background-color: #45a049;
|
46 |
}
|
47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
)
|
49 |
|
50 |
-
|
51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
.gr-button:hover {
|
45 |
background-color: #45a049;
|
46 |
}
|
47 |
+
.gr-button-container {
|
48 |
+
display: flex;
|
49 |
+
justify-content: space-between;
|
50 |
+
width: 100%;
|
51 |
+
max-width: 300px;
|
52 |
+
margin-top: 20px;
|
53 |
+
}
|
54 |
+
""",
|
55 |
+
layout="vertical",
|
56 |
)
|
57 |
|
58 |
+
iface.launch(
|
59 |
+
inputs=[gr.Image(label="Upload Image")],
|
60 |
+
outputs=[gr.Image(label="Output Image")],
|
61 |
+
layout="vertical",
|
62 |
+
live=False,
|
63 |
+
show_submit_button=True,
|
64 |
+
show_clear_button=True,
|
65 |
+
)
|