changxin commited on
Commit
78e41ea
·
1 Parent(s): 8bf6cc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -3,6 +3,12 @@ import pulp
3
  import pandas as pd
4
  import openpyxl
5
 
 
 
 
 
 
 
6
  demo = gr.Blocks()
7
 
8
  def fx1(x):
@@ -42,7 +48,7 @@ with demo:
42
  table_output = gr.Dataframe(label="输出读取的表格数据",show_label=True)
43
  dq_button = gr.Button("开始读取>>")
44
 
45
- tj_button.click(fx1, inputs=text_input, outputs=text_output)
46
  cs_button.click(fx2, inputs=val_input, outputs=json_output)
47
  dq_button.click(fx3, inputs=file_input, outputs=table_output)
48
 
 
3
  import pandas as pd
4
  import openpyxl
5
 
6
+ w_style="""
7
+ <style>
8
+ footer {visibility: hidden; }
9
+ </style>
10
+ """
11
+
12
  demo = gr.Blocks()
13
 
14
  def fx1(x):
 
48
  table_output = gr.Dataframe(label="输出读取的表格数据",show_label=True)
49
  dq_button = gr.Button("开始读取>>")
50
 
51
+ tj_button.click(fx1, inputs=text_input, outputs=text_output,css=w_style)
52
  cs_button.click(fx2, inputs=val_input, outputs=json_output)
53
  dq_button.click(fx3, inputs=file_input, outputs=table_output)
54