Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,28 @@
|
|
1 |
import gradio as gr
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
with gr.Blocks() as demo:
|
4 |
gr.HTML("<h1><center>Healthsheet Creator! πͺπ<h1><center>")
|
5 |
-
gr.HTML("<h3><center>Create a healthsheet based on Rostamzadeh et al. (2022) <i>Healthsheet: Development of a Transparency Artifact for Health Datasets</i
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
with gr.Tab("General Information"):
|
8 |
gr.Markdown("If the answer to any of the questions in the questionnaire is N/A, please describe why the answer is N/A (e.g: data not being available).")
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
CITATION_BUTTON_TEXT = """
|
4 |
+
@article{2022,
|
5 |
+
title={Healthsheet: Development of a Transparency Artifact for Health Datasets},
|
6 |
+
url={http://dx.doi.org/10.1145/3531146.3533239},
|
7 |
+
DOI={10.1145/3531146.3533239},
|
8 |
+
journal={2022 ACM Conference on Fairness, Accountability, and Transparency},
|
9 |
+
publisher={ACM},
|
10 |
+
author={Rostamzadeh, Negar and Mincu, Diana and Roy, Subhrajit and Smart, Andrew and Wilcox, Lauren and Pushkarna, Mahima and Schrouff, Jessica and Amironesei, Razvan and Moorosi, Nyalleng and Heller, Katherine},
|
11 |
+
year={2022},
|
12 |
+
month={Jun} }
|
13 |
+
"""
|
14 |
+
|
15 |
with gr.Blocks() as demo:
|
16 |
gr.HTML("<h1><center>Healthsheet Creator! πͺπ<h1><center>")
|
17 |
+
gr.HTML("<h3><center>Create a healthsheet based on Rostamzadeh et al. (2022) <i>Healthsheet: Development of a Transparency Artifact for Health Datasets</i> (https://arxiv.org/abs/2202.13028)<h4><center>")
|
18 |
+
|
19 |
+
with gr.Row():
|
20 |
+
with gr.Accordion("π Citation", open=False):
|
21 |
+
citation_button = gr.Textbox(
|
22 |
+
value=CITATION_BUTTON_TEXT,
|
23 |
+
lines=20,
|
24 |
+
elem_id="citation-button",
|
25 |
+
).style(show_copy_button=True)
|
26 |
|
27 |
with gr.Tab("General Information"):
|
28 |
gr.Markdown("If the answer to any of the questions in the questionnaire is N/A, please describe why the answer is N/A (e.g: data not being available).")
|