toshas commited on
Commit
8525e73
·
1 Parent(s): 35c3266

reposition markdown-verbose elem_classes

Browse files
Files changed (1) hide show
  1. app.py +18 -18
app.py CHANGED
@@ -23,24 +23,24 @@ class ImageFiltersApp(DualVisionApp):
23
  ## {self.title}
24
  """
25
  )
26
- gr.Markdown(
27
- f"""
28
- <p align="center">
29
- <a title="Github" href="https://github.com/toshas/gradio-dualvision" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
30
- <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">
31
- </a>
32
- <a title="Social" href="https://twitter.com/antonobukhov1" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
33
- <img src="https://shields.io/twitter/follow/:?label=Subscribe%20for%20updates!" alt="social">
34
- </a>
35
- </p>
36
- <p align="center" style="margin-top: 0px;">
37
- Upload a photo or select an example to process the input in real time.
38
- Use the slider to reveal areas of interest.
39
- Use the radio-buttons to switch between modalities.
40
- </p>
41
- """,
42
- elem_classes="markdown-verbose",
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
  """