Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -170,7 +170,7 @@ with gr.Blocks() as demo:
|
|
| 170 |
with gr.Row():
|
| 171 |
gr.Markdown("""# D-Edit""")
|
| 172 |
|
| 173 |
-
with gr.Tab(label="
|
| 174 |
with gr.Row():
|
| 175 |
with gr.Column():
|
| 176 |
canvas = gr.Image(value = "./img.png", type="numpy", label="Draw Mask", show_label=True, height=LENGTH, width=LENGTH, interactive=True)
|
|
@@ -194,7 +194,7 @@ with gr.Blocks() as demo:
|
|
| 194 |
|
| 195 |
|
| 196 |
|
| 197 |
-
with gr.Tab(label="2 Optimization"):
|
| 198 |
with gr.Row():
|
| 199 |
with gr.Column():
|
| 200 |
result_info = gr.Text(label="Response")
|
|
@@ -250,7 +250,7 @@ with gr.Blocks() as demo:
|
|
| 250 |
|
| 251 |
|
| 252 |
|
| 253 |
-
with gr.Tab(label="3 Editing"):
|
| 254 |
with gr.Tab(label="3.1 Text-based editing"):
|
| 255 |
|
| 256 |
with gr.Row():
|
|
|
|
| 170 |
with gr.Row():
|
| 171 |
gr.Markdown("""# D-Edit""")
|
| 172 |
|
| 173 |
+
with gr.Tab(label="d-edit"):
|
| 174 |
with gr.Row():
|
| 175 |
with gr.Column():
|
| 176 |
canvas = gr.Image(value = "./img.png", type="numpy", label="Draw Mask", show_label=True, height=LENGTH, width=LENGTH, interactive=True)
|
|
|
|
| 194 |
|
| 195 |
|
| 196 |
|
| 197 |
+
#with gr.Tab(label="2 Optimization"):
|
| 198 |
with gr.Row():
|
| 199 |
with gr.Column():
|
| 200 |
result_info = gr.Text(label="Response")
|
|
|
|
| 250 |
|
| 251 |
|
| 252 |
|
| 253 |
+
#with gr.Tab(label="3 Editing"):
|
| 254 |
with gr.Tab(label="3.1 Text-based editing"):
|
| 255 |
|
| 256 |
with gr.Row():
|