Update app.py
Browse files
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 = '.
|
| 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)
|