Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -236,30 +236,29 @@ with gr.Blocks(css="cake.css") as myface:
|
|
236 |
</div>
|
237 |
""")
|
238 |
with gr.Tab("Tools"):
|
239 |
-
with gr.Tab("View"):
|
240 |
-
with gr.Row():
|
241 |
-
with gr.Column(style="width=50%"):
|
242 |
-
gr.Pil(label="Crop")
|
243 |
-
with gr.Column(style="width=50%"):
|
244 |
-
gr.Pil(label="Crop")
|
245 |
with gr.Tab("Draw"):
|
246 |
with gr.Row():
|
247 |
with gr.Column(style="width=50%"):
|
248 |
gr.Pil(label="Crop")
|
249 |
with gr.Column(style="width=50%"):
|
250 |
gr.Pil(label="Draw")
|
251 |
-
with gr.Tab("
|
|
|
|
|
|
|
|
|
252 |
with gr.Row():
|
253 |
with gr.Column(scale=50):
|
254 |
-
gr.
|
255 |
with gr.Column(scale=50):
|
256 |
-
gr.
|
257 |
-
with gr.Tab("
|
258 |
with gr.Row():
|
259 |
with gr.Column(scale=50):
|
260 |
-
gr.
|
261 |
with gr.Column(scale=50):
|
262 |
-
gr.
|
|
|
263 |
with gr.Box(visible=True) as timo:
|
264 |
with gr.Row():
|
265 |
with gr.Column():
|
|
|
236 |
</div>
|
237 |
""")
|
238 |
with gr.Tab("Tools"):
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
with gr.Tab("Draw"):
|
240 |
with gr.Row():
|
241 |
with gr.Column(style="width=50%"):
|
242 |
gr.Pil(label="Crop")
|
243 |
with gr.Column(style="width=50%"):
|
244 |
gr.Pil(label="Draw")
|
245 |
+
with gr.Tab("View"):
|
246 |
+
with gr.Row():
|
247 |
+
with gr.Column(style="width=100%,height=100%"):
|
248 |
+
gr.Pil(label="Crop")
|
249 |
+
with gr.Tab("Color Picker"):
|
250 |
with gr.Row():
|
251 |
with gr.Column(scale=50):
|
252 |
+
gr.ColorPicker(label="Color", interactive=True)
|
253 |
with gr.Column(scale=50):
|
254 |
+
gr.ImagePaint(label="Draw", interactive=True)
|
255 |
+
with gr.Tab("Text"):
|
256 |
with gr.Row():
|
257 |
with gr.Column(scale=50):
|
258 |
+
gr.Textbox(label="", lines=8, interactive=True)
|
259 |
with gr.Column(scale=50):
|
260 |
+
gr.Textbox(label="", lines=8, interactive=True)
|
261 |
+
|
262 |
with gr.Box(visible=True) as timo:
|
263 |
with gr.Row():
|
264 |
with gr.Column():
|