Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -88,9 +88,8 @@ def apply_filters(image, filter_type, brightness, contrast, sharpening):
|
|
| 88 |
with gr.Blocks(css="""
|
| 89 |
.gradio-container { background-color: #f7f7f7; }""") as app:
|
| 90 |
# Title and Description
|
| 91 |
-
|
| 92 |
gr.Markdown("<p style='text-align: center; color: #666;'>Apply professional photo filters with adjustable brightness, contrast, and sharpness. Perfect your images instantly!</p>")
|
| 93 |
-
|
| 94 |
# Choices and Sliders at the Top
|
| 95 |
with gr.Row():
|
| 96 |
filter_choice = gr.Radio(["Original", "Grayscale", "Sketch", "Sepia", "Negative", "Sharpen", "Edge Detection","Fall"],label="Filter")
|
|
|
|
| 88 |
with gr.Blocks(css="""
|
| 89 |
.gradio-container { background-color: #f7f7f7; }""") as app:
|
| 90 |
# Title and Description
|
| 91 |
+
gr.Markdown("<h1 style='text-align: center; font-family: Arial, sans-serif; color: #333;'>Dynamic Photo Filter App</h1>")
|
| 92 |
gr.Markdown("<p style='text-align: center; color: #666;'>Apply professional photo filters with adjustable brightness, contrast, and sharpness. Perfect your images instantly!</p>")
|
|
|
|
| 93 |
# Choices and Sliders at the Top
|
| 94 |
with gr.Row():
|
| 95 |
filter_choice = gr.Radio(["Original", "Grayscale", "Sketch", "Sepia", "Negative", "Sharpen", "Edge Detection","Fall"],label="Filter")
|