zhouxiangxin1998 commited on
Commit
356c300
1 Parent(s): d6d6456

remove height (might be gradio version issue)

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -93,7 +93,7 @@ with demo:
93
  inverse_folding_csv = assign_rank_and_get_sorted_csv('data_link/inverse_folding.csv', 'data_rank/inverse_folding.csv')
94
  inverse_folding_table = gr.components.DataFrame(
95
  value=convert_to_float(inverse_folding_csv).values,
96
- height=99999,
97
  interactive=False,
98
  headers=inverse_folding_csv.columns.to_list(),
99
  datatype=['number', 'markdown'] + (len(inverse_folding_csv.columns)-1) * ['number'],
@@ -104,7 +104,7 @@ with demo:
104
  structure_design_csv = assign_rank_and_get_sorted_csv('data_link/structure_design.csv','data_rank/structure_design.csv', ignore_num=1)
105
  structure_design_table = gr.components.DataFrame(
106
  value=convert_to_float(structure_design_csv).values,
107
- height=99999,
108
  interactive=False,
109
  headers=structure_design_csv.columns.to_list(),
110
  datatype=['number', 'markdown'] + (len(structure_design_csv.columns)-1) * ['number'],
@@ -114,7 +114,7 @@ with demo:
114
  sequence_design_csv = assign_rank_and_get_sorted_csv('data_link/sequence_design.csv', 'data_rank/sequence_design.csv', ignore_num=1)
115
  sequence_design_table = gr.components.DataFrame(
116
  value=convert_to_float(sequence_design_csv).values,
117
- height=99999,
118
  interactive=False,
119
  headers=sequence_design_csv.columns.to_list(),
120
  datatype=['number', 'markdown'] + (len(sequence_design_csv.columns)-1) * ['number'],
@@ -124,7 +124,7 @@ with demo:
124
  co_design_csv = assign_rank_and_get_sorted_csv('data_link/co_design.csv', 'data_rank/co_design.csv', ignore_num=1)
125
  co_design_table = gr.components.DataFrame(
126
  value=convert_to_float(co_design_csv).values,
127
- height=99999,
128
  interactive=False,
129
  headers=co_design_csv.columns.to_list(),
130
  datatype=['number', 'markdown'] + (len(co_design_csv.columns)-1) * ['number'],
@@ -134,7 +134,7 @@ with demo:
134
  motif_scaffolding_csv = assign_rank_and_get_sorted_csv('data_link/motif_scaffolding.csv', 'data_rank/motif_scaffolding.csv')
135
  motif_scaffolding_table = gr.components.DataFrame(
136
  value=convert_to_float(motif_scaffolding_csv).values,
137
- height=99999,
138
  interactive=False,
139
  headers=motif_scaffolding_csv.columns.to_list(),
140
  datatype=['number', 'markdown'] + (len(motif_scaffolding_csv.columns)-1) * ['number'],
@@ -144,7 +144,7 @@ with demo:
144
  antibody_design_csv = assign_rank_and_get_sorted_csv('data_link/antibody_design.csv', 'data_rank/antibody_design.csv', ignore_num=1)
145
  antibody_design_table = gr.components.DataFrame(
146
  value=convert_to_float(antibody_design_csv).values,
147
- height=99999,
148
  interactive=False,
149
  headers=antibody_design_csv.columns.to_list(),
150
  datatype=['number', 'markdown'] + (len(antibody_design_csv.columns)-1) * ['number'],
@@ -154,7 +154,7 @@ with demo:
154
  protein_folding_csv = assign_rank_and_get_sorted_csv('data_link/protein_folding.csv', 'data_rank/protein_folding.csv')
155
  protein_folding_table = gr.components.DataFrame(
156
  value=convert_to_float(protein_folding_csv).values,
157
- height=99999,
158
  interactive=False,
159
  headers=protein_folding_csv.columns.to_list(),
160
  datatype=['number', 'markdown'] + (len(protein_folding_csv.columns)-1) * ['number'],
@@ -164,7 +164,7 @@ with demo:
164
  multi_state_prediction_csv = assign_rank_and_get_sorted_csv('data_link/multi_state_prediction_bpti.csv', 'data_rank/multi_state_prediction_bpti.csv')
165
  multi_state_prediction_table = gr.components.DataFrame(
166
  value=convert_to_float(multi_state_prediction_csv).values,
167
- height=99999,
168
  interactive=False,
169
  headers=multi_state_prediction_csv.columns.to_list(),
170
  datatype=['number', 'markdown'] + (len(multi_state_prediction_csv.columns)-1) * ['number'],
@@ -174,7 +174,7 @@ with demo:
174
  conformation_prediction_csv = assign_rank_and_get_sorted_csv('data_link/multi_state_prediction_apo.csv', 'data_rank/multi_state_prediction_apo.csv', ignore_num=1)
175
  conformation_prediction_table = gr.components.DataFrame(
176
  value=convert_to_float(conformation_prediction_csv).values,
177
- height=99999,
178
  interactive=False,
179
  headers=conformation_prediction_csv.columns.to_list(),
180
  datatype=['number', 'markdown'] + (len(conformation_prediction_csv.columns)-1) * ['number'],
@@ -184,7 +184,7 @@ with demo:
184
  distribution_prediction_csv = assign_rank_and_get_sorted_csv('data_link/distribution_prediction.csv', 'data_rank/distribution_prediction.csv', ignore_num=2)
185
  distribution_prediction_table = gr.components.DataFrame(
186
  value=convert_to_float(distribution_prediction_csv).values,
187
- height=99999,
188
  interactive=False,
189
  headers=distribution_prediction_csv.columns.to_list(),
190
  datatype=['number', 'markdown'] + (len(distribution_prediction_csv.columns)-1) * ['number'],
 
93
  inverse_folding_csv = assign_rank_and_get_sorted_csv('data_link/inverse_folding.csv', 'data_rank/inverse_folding.csv')
94
  inverse_folding_table = gr.components.DataFrame(
95
  value=convert_to_float(inverse_folding_csv).values,
96
+ # height=99999,
97
  interactive=False,
98
  headers=inverse_folding_csv.columns.to_list(),
99
  datatype=['number', 'markdown'] + (len(inverse_folding_csv.columns)-1) * ['number'],
 
104
  structure_design_csv = assign_rank_and_get_sorted_csv('data_link/structure_design.csv','data_rank/structure_design.csv', ignore_num=1)
105
  structure_design_table = gr.components.DataFrame(
106
  value=convert_to_float(structure_design_csv).values,
107
+ # height=99999,
108
  interactive=False,
109
  headers=structure_design_csv.columns.to_list(),
110
  datatype=['number', 'markdown'] + (len(structure_design_csv.columns)-1) * ['number'],
 
114
  sequence_design_csv = assign_rank_and_get_sorted_csv('data_link/sequence_design.csv', 'data_rank/sequence_design.csv', ignore_num=1)
115
  sequence_design_table = gr.components.DataFrame(
116
  value=convert_to_float(sequence_design_csv).values,
117
+ # height=99999,
118
  interactive=False,
119
  headers=sequence_design_csv.columns.to_list(),
120
  datatype=['number', 'markdown'] + (len(sequence_design_csv.columns)-1) * ['number'],
 
124
  co_design_csv = assign_rank_and_get_sorted_csv('data_link/co_design.csv', 'data_rank/co_design.csv', ignore_num=1)
125
  co_design_table = gr.components.DataFrame(
126
  value=convert_to_float(co_design_csv).values,
127
+ # height=99999,
128
  interactive=False,
129
  headers=co_design_csv.columns.to_list(),
130
  datatype=['number', 'markdown'] + (len(co_design_csv.columns)-1) * ['number'],
 
134
  motif_scaffolding_csv = assign_rank_and_get_sorted_csv('data_link/motif_scaffolding.csv', 'data_rank/motif_scaffolding.csv')
135
  motif_scaffolding_table = gr.components.DataFrame(
136
  value=convert_to_float(motif_scaffolding_csv).values,
137
+ # height=99999,
138
  interactive=False,
139
  headers=motif_scaffolding_csv.columns.to_list(),
140
  datatype=['number', 'markdown'] + (len(motif_scaffolding_csv.columns)-1) * ['number'],
 
144
  antibody_design_csv = assign_rank_and_get_sorted_csv('data_link/antibody_design.csv', 'data_rank/antibody_design.csv', ignore_num=1)
145
  antibody_design_table = gr.components.DataFrame(
146
  value=convert_to_float(antibody_design_csv).values,
147
+ # height=99999,
148
  interactive=False,
149
  headers=antibody_design_csv.columns.to_list(),
150
  datatype=['number', 'markdown'] + (len(antibody_design_csv.columns)-1) * ['number'],
 
154
  protein_folding_csv = assign_rank_and_get_sorted_csv('data_link/protein_folding.csv', 'data_rank/protein_folding.csv')
155
  protein_folding_table = gr.components.DataFrame(
156
  value=convert_to_float(protein_folding_csv).values,
157
+ # height=99999,
158
  interactive=False,
159
  headers=protein_folding_csv.columns.to_list(),
160
  datatype=['number', 'markdown'] + (len(protein_folding_csv.columns)-1) * ['number'],
 
164
  multi_state_prediction_csv = assign_rank_and_get_sorted_csv('data_link/multi_state_prediction_bpti.csv', 'data_rank/multi_state_prediction_bpti.csv')
165
  multi_state_prediction_table = gr.components.DataFrame(
166
  value=convert_to_float(multi_state_prediction_csv).values,
167
+ # height=99999,
168
  interactive=False,
169
  headers=multi_state_prediction_csv.columns.to_list(),
170
  datatype=['number', 'markdown'] + (len(multi_state_prediction_csv.columns)-1) * ['number'],
 
174
  conformation_prediction_csv = assign_rank_and_get_sorted_csv('data_link/multi_state_prediction_apo.csv', 'data_rank/multi_state_prediction_apo.csv', ignore_num=1)
175
  conformation_prediction_table = gr.components.DataFrame(
176
  value=convert_to_float(conformation_prediction_csv).values,
177
+ # height=99999,
178
  interactive=False,
179
  headers=conformation_prediction_csv.columns.to_list(),
180
  datatype=['number', 'markdown'] + (len(conformation_prediction_csv.columns)-1) * ['number'],
 
184
  distribution_prediction_csv = assign_rank_and_get_sorted_csv('data_link/distribution_prediction.csv', 'data_rank/distribution_prediction.csv', ignore_num=2)
185
  distribution_prediction_table = gr.components.DataFrame(
186
  value=convert_to_float(distribution_prediction_csv).values,
187
+ # height=99999,
188
  interactive=False,
189
  headers=distribution_prediction_csv.columns.to_list(),
190
  datatype=['number', 'markdown'] + (len(distribution_prediction_csv.columns)-1) * ['number'],