pufanyi commited on
Commit
fa821bd
1 Parent(s): 5ba4b5c

Refactor app.py to enable lazy loading for images

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. src/about.py +1 -2
app.py CHANGED
@@ -176,7 +176,7 @@ with demo:
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
  )
 
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
  )
src/about.py CHANGED
@@ -96,8 +96,7 @@ If everything is done, check you can launch the EleutherAIHarness on your model
96
  """
97
 
98
  CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
99
- CITATION_BUTTON_TEXT = r"""\
100
- @misc{zhang2024lmmsevalrealitycheckevaluation,
101
  title={LMMs-Eval: Reality Check on the Evaluation of Large Multimodal Models},
102
  author={Kaichen Zhang and Bo Li and Peiyuan Zhang and Fanyi Pu and Joshua Adrian Cahyono and Kairui Hu and Shuai Liu and Yuanhan Zhang and Jingkang Yang and Chunyuan Li and Ziwei Liu},
103
  year={2024},
 
96
  """
97
 
98
  CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
99
+ CITATION_BUTTON_TEXT = r"""@misc{zhang2024lmmsevalrealitycheckevaluation,
 
100
  title={LMMs-Eval: Reality Check on the Evaluation of Large Multimodal Models},
101
  author={Kaichen Zhang and Bo Li and Peiyuan Zhang and Fanyi Pu and Joshua Adrian Cahyono and Kairui Hu and Shuai Liu and Yuanhan Zhang and Jingkang Yang and Chunyuan Li and Ziwei Liu},
102
  year={2024},