katielink commited on
Commit
74777ee
β€’
1 Parent(s): 4f695df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -31,15 +31,16 @@ with gr.Blocks() as demo:
31
  with gr.Row():
32
  with gr.Accordion("πŸ“ Abstract", open=False):
33
  abstract_button = gr.Textbox(
 
34
  value = ABSTRACT_TEXT,
35
  lines = 5,
36
  )
37
  with gr.Row():
38
  with gr.Accordion("πŸ“˜ Citation", open=False):
39
  citation_button = gr.Textbox(
 
40
  value=CITATION_BUTTON_TEXT,
41
  lines=9,
42
- elem_id="citation-button",
43
  ).style(show_copy_button=True)
44
 
45
  with gr.Row():
@@ -51,8 +52,8 @@ with gr.Blocks() as demo:
51
  gr.Button("Enter")
52
 
53
  with gr.Column():
54
- gr.Markdown("This is where your Markdown-formatted healthsheet will appear! You can copy it easily into your dataset card.")
55
- gr.Textbox(healthsheet, show_copy_button=True)
56
 
57
  if __name__ == "__main__":
58
  demo.launch()
 
31
  with gr.Row():
32
  with gr.Accordion("πŸ“ Abstract", open=False):
33
  abstract_button = gr.Textbox(
34
+ label = '',
35
  value = ABSTRACT_TEXT,
36
  lines = 5,
37
  )
38
  with gr.Row():
39
  with gr.Accordion("πŸ“˜ Citation", open=False):
40
  citation_button = gr.Textbox(
41
+ label = '',
42
  value=CITATION_BUTTON_TEXT,
43
  lines=9,
 
44
  ).style(show_copy_button=True)
45
 
46
  with gr.Row():
 
52
  gr.Button("Enter")
53
 
54
  with gr.Column():
55
+ gr.Markdown("This is where your Markdown-formatted healthsheet will appear! You can copy and paste it into your dataset card.")
56
+ gr.Textbox(healthsheet, label='Your Healthsheet', show_copy_button=True)
57
 
58
  if __name__ == "__main__":
59
  demo.launch()