Spaces:
Running
Running
Commit ·
ca643ea
1
Parent(s): 3d29097
add ao3 chinese
Browse files- app.py +3 -2
- data/2024-10/7b.xlsx +0 -0
app.py
CHANGED
|
@@ -132,7 +132,7 @@ def get_unique_column_names(all_data):
|
|
| 132 |
# return list(column_names.keys())
|
| 133 |
|
| 134 |
return ['ao3_\u200benglish', 'bbc_\u200bnews', 'wikipedia_\u200benglish', 'arxiv_\u200bcomputer_\u200bscience',
|
| 135 |
-
'arxiv_\u200bphysics', 'github_\u200bcpp', 'github_\u200bpython']
|
| 136 |
|
| 137 |
|
| 138 |
def color_cell(value):
|
|
@@ -455,7 +455,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 455 |
choices=get_unique_column_names(all_data),
|
| 456 |
value=get_unique_column_names(all_data))
|
| 457 |
|
| 458 |
-
table = gr.Dataframe(initial_data,
|
|
|
|
| 459 |
wrap=True,
|
| 460 |
height=800,
|
| 461 |
)
|
|
|
|
| 132 |
# return list(column_names.keys())
|
| 133 |
|
| 134 |
return ['ao3_\u200benglish', 'bbc_\u200bnews', 'wikipedia_\u200benglish', 'arxiv_\u200bcomputer_\u200bscience',
|
| 135 |
+
'arxiv_\u200bphysics', 'github_\u200bcpp', 'github_\u200bpython', 'ao3_\u200bchinese']
|
| 136 |
|
| 137 |
|
| 138 |
def color_cell(value):
|
|
|
|
| 455 |
choices=get_unique_column_names(all_data),
|
| 456 |
value=get_unique_column_names(all_data))
|
| 457 |
|
| 458 |
+
table = gr.Dataframe(initial_data,
|
| 459 |
+
column_widths=[130, 50, 50, 35, 35, 35, 35, 35, 35, 35, 35],
|
| 460 |
wrap=True,
|
| 461 |
height=800,
|
| 462 |
)
|
data/2024-10/7b.xlsx
CHANGED
|
Binary files a/data/2024-10/7b.xlsx and b/data/2024-10/7b.xlsx differ
|
|
|