aibota01 commited on
Commit
2b6d901
·
1 Parent(s): abe68d2

Add citation

Browse files
Files changed (1) hide show
  1. app.py +11 -13
app.py CHANGED
@@ -356,24 +356,22 @@ with gr.Blocks() as demo:
356
  outputs=[evaluation_output, leaderboard_output]
357
  )
358
 
359
- gr.HTML(
360
  """
361
- <h3>Citation</h3>
362
- <p>If you use the Food Portion Benchmark dataset in your research, please cite our work as follows:</p>
363
- <pre id="citation-bibtex" style="background:#f5f5f5;padding:10px;border:1px solid #ddd;">
364
- @misc{foodportionbenchmark2025,
365
- title={Paper Title},
366
- author={Authors},
367
- year={2025},
368
- note={Under Review}
369
- }
370
- </pre>
371
- <button onclick="navigator.clipboard.writeText(document.getElementById('citation-bibtex').innerText)">Copy Citation</button>
372
  """
373
  )
374
 
375
 
376
-
377
  # ---------- Scheduler (Optional) ----------
378
  scheduler = BackgroundScheduler()
379
  def restart_space():
 
356
  outputs=[evaluation_output, leaderboard_output]
357
  )
358
 
359
+ gr.Markdown(
360
  """
361
+ ### 📙 Citation
362
+ If you use the Food Portion Benchmark dataset in your research, please cite our work as follows:
363
+ ```bibtex
364
+ @misc{foodportionbenchmark2025,
365
+ title={Paper Title},
366
+ author={Authors},
367
+ year={2025},
368
+ note={Under Review}
369
+ }
370
+ ```
 
371
  """
372
  )
373
 
374
 
 
375
  # ---------- Scheduler (Optional) ----------
376
  scheduler = BackgroundScheduler()
377
  def restart_space():