Spaces:
Running
Running
reposition markdown-verbose elem_classes
Browse files
app.py
CHANGED
@@ -23,24 +23,24 @@ class ImageFiltersApp(DualVisionApp):
|
|
23 |
## {self.title}
|
24 |
"""
|
25 |
)
|
26 |
-
gr.
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
<
|
31 |
-
|
32 |
-
|
33 |
-
<
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
|
45 |
def build_user_components(self):
|
46 |
"""
|
|
|
23 |
## {self.title}
|
24 |
"""
|
25 |
)
|
26 |
+
with gr.Row(elem_classes="markdown-verbose"):
|
27 |
+
gr.Markdown(
|
28 |
+
f"""
|
29 |
+
<p align="center">
|
30 |
+
<a title="Github" href="https://github.com/toshas/gradio-dualvision" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
31 |
+
<img src="https://img.shields.io/github/stars/toshas/gradio-dualvision?label=GitHub%20%E2%98%85&logo=github&color=C8C" alt="badge-github-stars">
|
32 |
+
</a>
|
33 |
+
<a title="Social" href="https://twitter.com/antonobukhov1" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
34 |
+
<img src="https://shields.io/twitter/follow/:?label=Subscribe%20for%20updates!" alt="social">
|
35 |
+
</a>
|
36 |
+
</p>
|
37 |
+
<p align="center" style="margin-top: 0px;">
|
38 |
+
Upload a photo or select an example to process the input in real time.
|
39 |
+
Use the slider to reveal areas of interest.
|
40 |
+
Use the radio-buttons to switch between modalities.
|
41 |
+
</p>
|
42 |
+
"""
|
43 |
+
)
|
44 |
|
45 |
def build_user_components(self):
|
46 |
"""
|