davanstrien HF staff commited on
Commit
7e023c0
·
1 Parent(s): 1078c3d

Update accordion label for detailed explanation

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -170,7 +170,7 @@ tufte_theme = TufteInspired()
170
  with gr.Blocks(theme=tufte_theme) as demo:
171
  gr.Markdown("<h1 style='text-align: center;'>Would you read this book?</h1>")
172
  gr.Markdown(f"""<p style='text-align: center;'>{short_description}</p>""")
173
- with gr.Accordion("Detailed explanation...", open=True):
174
  gr.Markdown(full_description)
175
  with gr.Accordion("View the data generated so far...", open=False):
176
  gr.Markdown("Below is the progress of the dataset so far!")
 
170
  with gr.Blocks(theme=tufte_theme) as demo:
171
  gr.Markdown("<h1 style='text-align: center;'>Would you read this book?</h1>")
172
  gr.Markdown(f"""<p style='text-align: center;'>{short_description}</p>""")
173
+ with gr.Accordion("Detailed explanation...", open=False):
174
  gr.Markdown(full_description)
175
  with gr.Accordion("View the data generated so far...", open=False):
176
  gr.Markdown("Below is the progress of the dataset so far!")