Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ with gr.Blocks() as block:
|
|
15 |
value=CITATION_BUTTON_TEXT,
|
16 |
label=CITATION_BUTTON_LABEL,
|
17 |
elem_id="citation-button",
|
18 |
-
lines=
|
19 |
)
|
20 |
gr.Markdown(
|
21 |
TABLE_INTRODUCTION
|
@@ -28,7 +28,7 @@ with gr.Blocks() as block:
|
|
28 |
datatype=DATA_TITLE_TYPE,
|
29 |
interactive=False,
|
30 |
visible=True,
|
31 |
-
|
32 |
)
|
33 |
refresh_button = gr.Button("Refresh")
|
34 |
refresh_button.click(fn=refresh_data, outputs=data_component)
|
@@ -42,18 +42,6 @@ with gr.Blocks() as block:
|
|
42 |
with gr.Row():
|
43 |
gr.Markdown(SUBMIT_INTRODUCTION, elem_classes="markdown-text")
|
44 |
|
45 |
-
# with gr.Row():
|
46 |
-
# gr.Markdown("# ✉️✨ Submit your json file here!", elem_classes="markdown-text")
|
47 |
-
|
48 |
-
# with gr.Column():
|
49 |
-
# input_file = gr.components.File(label="Click to Upload a json File", file_count="single", type='binary')
|
50 |
-
# submit_button = gr.Button("Submit Results")
|
51 |
-
|
52 |
-
# submission_result = gr.Markdown()
|
53 |
-
# submit_button.click(
|
54 |
-
# add_new_eval,
|
55 |
-
# inputs=[input_file],
|
56 |
-
# )
|
57 |
|
58 |
block.launch(share=True)
|
59 |
|
|
|
15 |
value=CITATION_BUTTON_TEXT,
|
16 |
label=CITATION_BUTTON_LABEL,
|
17 |
elem_id="citation-button",
|
18 |
+
lines=10,
|
19 |
)
|
20 |
gr.Markdown(
|
21 |
TABLE_INTRODUCTION
|
|
|
28 |
datatype=DATA_TITLE_TYPE,
|
29 |
interactive=False,
|
30 |
visible=True,
|
31 |
+
height=1000
|
32 |
)
|
33 |
refresh_button = gr.Button("Refresh")
|
34 |
refresh_button.click(fn=refresh_data, outputs=data_component)
|
|
|
42 |
with gr.Row():
|
43 |
gr.Markdown(SUBMIT_INTRODUCTION, elem_classes="markdown-text")
|
44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
block.launch(share=True)
|
47 |
|