pufanyi commited on
Commit
67d6e6b
·
1 Parent(s): fa821bd

Refactor app.py to include lazy loading for images

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -174,9 +174,8 @@ with demo:
174
  with gr.Row():
175
  with gr.Accordion("📙 Citation", open=False):
176
  citation_button = gr.Textbox(
177
- value=CITATION_BUTTON_TEXT,
178
  label=CITATION_BUTTON_LABEL,
179
- # lines=20,
180
  elem_id="citation-button",
181
  show_copy_button=True,
182
  )
 
174
  with gr.Row():
175
  with gr.Accordion("📙 Citation", open=False):
176
  citation_button = gr.Textbox(
177
+ value=gr.Markdown("```bib\n" + CITATION_BUTTON_TEXT + "\n```"),
178
  label=CITATION_BUTTON_LABEL,
 
179
  elem_id="citation-button",
180
  show_copy_button=True,
181
  )