Liusuthu commited on
Commit
a940eae
·
verified ·
1 Parent(s): 12c306d

Delete details.py

Browse files
Files changed (1) hide show
  1. details.py +0 -26
details.py DELETED
@@ -1,26 +0,0 @@
1
- import os
2
-
3
- import gradio as gr
4
-
5
- os.environ["no_proxy"] = "localhost,127.0.0.1,::1"
6
-
7
- info = open("details_info.html", "r", encoding="utf-8")
8
- out = ""
9
- for i in info:
10
- out = out + str(i)
11
-
12
- with gr.Blocks() as details:
13
- with gr.Row():
14
- gr.HTML("详尽介绍")
15
- with gr.Row():
16
- img_inputs = ["system.png", "flow.png"]
17
- gr.Gallery(
18
- img_inputs,
19
- selected_index=0,
20
- # label="点击图片查看详情",
21
- # show_label=True,
22
- )
23
-
24
- with gr.Row():
25
- gr.HTML(out)
26
- # 看上去还是不太能简单地进行文件输入啊,并且HTML比md方便