Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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)
|