Spaces:
Runtime error
Runtime error
Commit
·
5097863
1
Parent(s):
406d9b2
fix layout
Browse files
app.py
CHANGED
|
@@ -118,8 +118,8 @@ css = """
|
|
| 118 |
# generated_prompt = ""
|
| 119 |
|
| 120 |
with gr.Blocks(css=css) as demo:
|
|
|
|
| 121 |
with gr.Row():
|
| 122 |
-
gr.Markdown("Draptic: from garment image to technical flat sketch")
|
| 123 |
with gr.Column(elem_id="col-input-image"):
|
| 124 |
gr.Markdown(" ## Drop your image here")
|
| 125 |
input_image = gr.Image(type="filepath")
|
|
@@ -127,7 +127,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 127 |
generate_button = gr.Button("Generate flat sketch", scale=0, variant="primary")
|
| 128 |
|
| 129 |
result = gr.Image(label="Result", show_label=False)
|
| 130 |
-
|
| 131 |
gr.Markdown("## Description of the garment:")
|
| 132 |
generated_prompt = gr.Markdown("")
|
| 133 |
|
|
|
|
| 118 |
# generated_prompt = ""
|
| 119 |
|
| 120 |
with gr.Blocks(css=css) as demo:
|
| 121 |
+
gr.Markdown("# Draptic: from garment image to technical flat sketch")
|
| 122 |
with gr.Row():
|
|
|
|
| 123 |
with gr.Column(elem_id="col-input-image"):
|
| 124 |
gr.Markdown(" ## Drop your image here")
|
| 125 |
input_image = gr.Image(type="filepath")
|
|
|
|
| 127 |
generate_button = gr.Button("Generate flat sketch", scale=0, variant="primary")
|
| 128 |
|
| 129 |
result = gr.Image(label="Result", show_label=False)
|
| 130 |
+
|
| 131 |
gr.Markdown("## Description of the garment:")
|
| 132 |
generated_prompt = gr.Markdown("")
|
| 133 |
|