katielink commited on
Commit
3fba49a
β€’
1 Parent(s): e331677

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -75,12 +75,7 @@ with gr.Blocks() as demo:
75
  with gr.Column():
76
  gr.Markdown("This is where your Markdown-formatted healthsheet will appear! You can copy and paste it into your dataset card.")
77
  with gr.Accordion("Healthsheet", open=True):
78
- for header in healthsheet_dict:
79
- with gr.Accordion(header, open=False):
80
- for var_name in healthsheet_dict[header]:
81
- question = healthsheet_dict[header][var_name]['question']
82
- answer = healthsheet_dict[header][var_name]['answer']
83
- gr.Textbox(answer, label=question)
84
 
85
  with gr.Accordion("Markdown Version", open=True):
86
  gr.Textbox(healthsheet, label='Your Healthsheet', show_copy_button=True)
 
75
  with gr.Column():
76
  gr.Markdown("This is where your Markdown-formatted healthsheet will appear! You can copy and paste it into your dataset card.")
77
  with gr.Accordion("Healthsheet", open=True):
78
+ gr.Markdown(healthsheet)
 
 
 
 
 
79
 
80
  with gr.Accordion("Markdown Version", open=True):
81
  gr.Textbox(healthsheet, label='Your Healthsheet', show_copy_button=True)