admin commited on
Commit
66e2a21
·
1 Parent(s): 1302388

upd gr ver

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +4 -4
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🧬🧫
4
  colorFrom: green
5
  colorTo: yellow
6
  sdk: gradio
7
- sdk_version: 5.22.0
8
  app_file: app.py
9
  pinned: true
10
  license: mit
 
4
  colorFrom: green
5
  colorTo: yellow
6
  sdk: gradio
7
+ sdk_version: 6.3.0
8
  app_file: app.py
9
  pinned: true
10
  license: mit
app.py CHANGED
@@ -94,12 +94,12 @@ if __name__ == "__main__":
94
  fn=infer,
95
  inputs=gr.Image(type="filepath", label=_L("上传细胞图像")),
96
  outputs=[
97
- gr.Textbox(label=_L("状态栏"), show_copy_button=True),
98
- gr.Textbox(label=_L("图片名"), show_copy_button=True),
99
- gr.Textbox(label=_L("识别结果"), show_copy_button=True),
100
  ],
101
  title=_L("请上传 PNG 格式的 HEp2 细胞图片"),
102
  examples=example_imgs,
103
  flagging_mode="never",
104
  cache_examples=False,
105
- ).launch(ssr_mode=False)
 
94
  fn=infer,
95
  inputs=gr.Image(type="filepath", label=_L("上传细胞图像")),
96
  outputs=[
97
+ gr.Textbox(label=_L("状态栏"), buttons=["copy"]),
98
+ gr.Textbox(label=_L("图片名"), buttons=["copy"]),
99
+ gr.Textbox(label=_L("识别结果"), buttons=["copy"]),
100
  ],
101
  title=_L("请上传 PNG 格式的 HEp2 细胞图片"),
102
  examples=example_imgs,
103
  flagging_mode="never",
104
  cache_examples=False,
105
+ ).launch(css="#gradio-share-link-button-0 { display: none; }")