Spaces:
Sleeping
Sleeping
Commit
·
e878f56
1
Parent(s):
fcf696b
Add documentation
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
emoji: 📈
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: blue
|
|
|
|
| 1 |
---
|
| 2 |
+
title: background-solarizer
|
| 3 |
emoji: 📈
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: blue
|
app.py
CHANGED
|
@@ -114,6 +114,13 @@ def transform_image_parallel(image):
|
|
| 114 |
return image
|
| 115 |
|
| 116 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
with gr.Row():
|
| 118 |
with gr.Column(scale=1, min_width=320):
|
| 119 |
input_image = gr.Image(label='Input')
|
|
|
|
| 114 |
return image
|
| 115 |
|
| 116 |
with gr.Blocks() as demo:
|
| 117 |
+
gr.Markdown('# background-solarizer')
|
| 118 |
+
gr.Markdown(
|
| 119 |
+
'Align your desktop background to the Solarized color palette. Upload an image, adjust the sliders, and click '
|
| 120 |
+
'"Preprocess into workspace" to check whether the light mode or dark mode target range is satisfied. Click '
|
| 121 |
+
'"Transform workspace" to apply the transformation. For more information, check read the blog post at '
|
| 122 |
+
'https://kenny-peng.com/2023/06/02/solarized_background_2.html.'
|
| 123 |
+
)
|
| 124 |
with gr.Row():
|
| 125 |
with gr.Column(scale=1, min_width=320):
|
| 126 |
input_image = gr.Image(label='Input')
|