Spaces:
No application file
No application file
Update interior design.py
Browse files- interior design.py +14 -7
interior design.py
CHANGED
|
@@ -18,12 +18,19 @@ def convert_3d_to_2d():
|
|
| 18 |
def image_fusion():
|
| 19 |
return None
|
| 20 |
|
| 21 |
-
with gr.Block() as
|
| 22 |
-
with gr.
|
| 23 |
-
with gr.
|
| 24 |
-
gr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
gr.Textbox(titel = "instrucation")
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
| 28 |
|
| 29 |
-
|
|
|
|
| 18 |
def image_fusion():
|
| 19 |
return None
|
| 20 |
|
| 21 |
+
with gr.Block() as main:
|
| 22 |
+
with gr.Row():
|
| 23 |
+
with gr.Column():
|
| 24 |
+
photo_input1 = gr.Image(titel = "photo1")
|
| 25 |
+
photo_input2 = gr.Image(title = "photo2")
|
| 26 |
+
radio = gr.Radio(["Vintage","Contmporary","Cottage","Bohemian","Minimalist"],title = "choose your style")
|
| 27 |
+
generate_btn = gr.btn()
|
| 28 |
+
with gr.Column():
|
| 29 |
+
image_output1 = gr.Image(title = "image1")
|
| 30 |
gr.Textbox(titel = "instrucation")
|
| 31 |
+
image_output2 = gr.Image(title = "image2")
|
| 32 |
+
with gr.Column():
|
| 33 |
+
result1 = gr.Image(title = "result1")
|
| 34 |
+
result2 = gr.Image(title = "result2")
|
| 35 |
|
| 36 |
+
main.launch()
|