9prayer commited on
Commit
12ba03d
·
verified ·
1 Parent(s): 93722e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,6 +24,6 @@ title = '车架号识别展示'
24
  description = '拖拽图片到识别区开始分析'
25
  ip = [gr.Image(sources = ['upload'], label = '上传图片', width = "100%", height = "40rem")]
26
  op = [gr.Image(sources = [], label = '处理结果', width = "100%", height = "40rem"), gr.Dataframe(col_count = (1, 'fixed'), show_label = False)]
27
- css = '.table-container > .progress-text { display: none !important; } .table > .header-content { display: none !important; }'
28
  gif = gr.Interface(fn = inference, inputs = ip, outputs = op, title = title, description = description, batch = False, flagging_mode='never')
29
- gif.launch()
 
24
  description = '拖拽图片到识别区开始分析'
25
  ip = [gr.Image(sources = ['upload'], label = '上传图片', width = "100%", height = "40rem")]
26
  op = [gr.Image(sources = [], label = '处理结果', width = "100%", height = "40rem"), gr.Dataframe(col_count = (1, 'fixed'), show_label = False)]
27
+ css = '.hide-container > div.progress-text { display: none !important; } .header-content > span.multiline { display: none !important; }'
28
  gif = gr.Interface(fn = inference, inputs = ip, outputs = op, title = title, description = description, batch = False, flagging_mode='never')
29
+ gif.launch(share = True)