Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -544,7 +544,16 @@ gr.HTML("""
|
|
| 544 |
</div>
|
| 545 |
</div>
|
| 546 |
""")
|
| 547 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 548 |
with gr.Column(scale=1, min_width=450): # Input/controls
|
| 549 |
with gr.Group(elem_classes="panel"):
|
| 550 |
mode_toggle = gr.Radio(
|
|
|
|
| 544 |
</div>
|
| 545 |
</div>
|
| 546 |
""")
|
| 547 |
+
|
| 548 |
+
with gr.Blocks(css=css) as demo:
|
| 549 |
+
image_data_state = gr.State([])
|
| 550 |
+
temp_dir_state = gr.State(None)
|
| 551 |
+
|
| 552 |
+
gr.HTML(lamp_html)
|
| 553 |
+
|
| 554 |
+
gr.Markdown("<h1>🖼️ Image Processor</h1>")
|
| 555 |
+
|
| 556 |
+
with gr.Row():
|
| 557 |
with gr.Column(scale=1, min_width=450): # Input/controls
|
| 558 |
with gr.Group(elem_classes="panel"):
|
| 559 |
mode_toggle = gr.Radio(
|