Realcat commited on
Commit
b648661
β€’
1 Parent(s): 1ccca05

add: cover

Browse files
Files changed (2) hide show
  1. app.py +14 -5
  2. assets/logo.webp +0 -0
app.py CHANGED
@@ -22,7 +22,7 @@ This Space demonstrates [Image Matching WebUI](https://github.com/Vincentqyw/ima
22
 
23
  πŸ”Ž For more details about supported local features and matchers, please refer to https://github.com/Vincentqyw/image-matching-webui
24
 
25
- πŸš€ All algorithms run on CPU for inference on HF, causing slow speeds and high latency. For faster inference, please download the [source code](https://github.com/Vincentqyw/image-matching-webui) for local deployment.
26
 
27
  πŸ› Your feedback is valuable to me. Please do not hesitate to report any bugs [here](https://github.com/Vincentqyw/image-matching-webui/issues).
28
  """
@@ -89,9 +89,19 @@ def run(server_name="0.0.0.0", server_port=7860):
89
  Returns:
90
  None
91
  """
92
- with gr.Blocks(css="style.css") as app:
93
- gr.Markdown(DESCRIPTION)
94
-
 
 
 
 
 
 
 
 
 
 
95
  with gr.Row(equal_height=False):
96
  with gr.Column():
97
  with gr.Row():
@@ -351,4 +361,3 @@ if __name__ == "__main__":
351
 
352
  args = parser.parse_args()
353
  run(args.server_name, args.server_port)
354
-
 
22
 
23
  πŸ”Ž For more details about supported local features and matchers, please refer to https://github.com/Vincentqyw/image-matching-webui
24
 
25
+ πŸš€ All algorithms run on CPU for inference, causing slow speeds and high latency. For faster inference, please download the [source code](https://github.com/Vincentqyw/image-matching-webui) for local deployment.
26
 
27
  πŸ› Your feedback is valuable to me. Please do not hesitate to report any bugs [here](https://github.com/Vincentqyw/image-matching-webui/issues).
28
  """
 
89
  Returns:
90
  None
91
  """
92
+ with gr.Blocks() as app:
93
+ # gr.Markdown(DESCRIPTION)
94
+ with gr.Row():
95
+ with gr.Column(scale=1):
96
+ gr.Image(
97
+ "assets/logo.webp",
98
+ elem_id="logo-img",
99
+ show_label=False,
100
+ show_share_button=False,
101
+ show_download_button=False,
102
+ )
103
+ with gr.Column(scale=3):
104
+ gr.Markdown(DESCRIPTION)
105
  with gr.Row(equal_height=False):
106
  with gr.Column():
107
  with gr.Row():
 
361
 
362
  args = parser.parse_args()
363
  run(args.server_name, args.server_port)
 
assets/logo.webp ADDED