Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -284,7 +284,7 @@ with gr.Blocks(theme=theme, css=css) as app:
|
|
284 |
gr.HTML("<center><h6>🎨 Image Studio</h6></center>")
|
285 |
with gr.Tab("Flip Image"):
|
286 |
with gr.Row():
|
287 |
-
image_input = gr.Image()
|
288 |
image_output = gr.Image(format="png")
|
289 |
with gr.Row():
|
290 |
image_button = gr.Button("Run", variant='primary')
|
@@ -292,7 +292,7 @@ with gr.Blocks(theme=theme, css=css) as app:
|
|
292 |
with gr.Tab("Image Filters"):
|
293 |
with gr.Row():
|
294 |
with gr.Column():
|
295 |
-
image_input = gr.Image(type="numpy", label="
|
296 |
with gr.Accordion("ℹ️ Filter Categories", open=True):
|
297 |
filter_type = gr.Radio(
|
298 |
[
|
@@ -315,7 +315,7 @@ with gr.Blocks(theme=theme, css=css) as app:
|
|
315 |
submit_button = gr.Button("✨ Apply Filter", variant="primary")
|
316 |
|
317 |
with gr.Column():
|
318 |
-
image_output = gr.Image(label="🖼️ Filtered
|
319 |
|
320 |
submit_button.click(
|
321 |
image_processing,
|
|
|
284 |
gr.HTML("<center><h6>🎨 Image Studio</h6></center>")
|
285 |
with gr.Tab("Flip Image"):
|
286 |
with gr.Row():
|
287 |
+
image_input = gr.Image(type="numpy", label="Upload Image")
|
288 |
image_output = gr.Image(format="png")
|
289 |
with gr.Row():
|
290 |
image_button = gr.Button("Run", variant='primary')
|
|
|
292 |
with gr.Tab("Image Filters"):
|
293 |
with gr.Row():
|
294 |
with gr.Column():
|
295 |
+
image_input = gr.Image(type="numpy", label="Upload Image")
|
296 |
with gr.Accordion("ℹ️ Filter Categories", open=True):
|
297 |
filter_type = gr.Radio(
|
298 |
[
|
|
|
315 |
submit_button = gr.Button("✨ Apply Filter", variant="primary")
|
316 |
|
317 |
with gr.Column():
|
318 |
+
image_output = gr.Image(label="🖼️ Filtered Image")
|
319 |
|
320 |
submit_button.click(
|
321 |
image_processing,
|