@@ -68,16 +68,15 @@ def init_matcher_dropdown(self):
6868 return algos
6969
7070 def init_interface (self ):
71- with gr .Blocks (css = CSS ) as self .app :
71+ with gr .Blocks () as self .app :
7272 with gr .Tab ("Image Matching" ):
7373 with gr .Row ():
7474 with gr .Column (scale = 1 ):
7575 gr .Image (
7676 str (Path (__file__ ).parent .parent / "assets/logo.webp" ),
7777 elem_id = "logo-img" ,
7878 show_label = False ,
79- show_share_button = False ,
80- show_download_button = False ,
79+ buttons = ["fullscreen" ],
8180 )
8281 with gr .Column (scale = 3 ):
8382 gr .Markdown (DESCRIPTION )
@@ -425,6 +424,7 @@ def run(self):
425424 server_name = self .server_name ,
426425 server_port = self .server_port ,
427426 share = False ,
427+ css = CSS ,
428428 allowed_paths = [
429429 str (Path (__file__ ).parents [0 ]),
430430 str (Path (__file__ ).parents [1 ]),
@@ -571,7 +571,8 @@ def get_link(link, tag="Link"):
571571 tab = gr .Dataframe (
572572 headers = ["Algo." , "Conference" , "Code" , "Paper" , "Project" ],
573573 datatype = ["str" , "str" , "str" , "str" , "str" ],
574- col_count = (5 , "fixed" ),
574+ column_count = 5 ,
575+ column_limits = (5 , 5 ),
575576 value = data ,
576577 # wrap=True,
577578 # min_width = 1000,
0 commit comments