sagawa commited on
Commit
5978645
·
verified ·
1 Parent(s): ca12cec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +32 -5
app.py CHANGED
@@ -107,7 +107,7 @@ with st.sidebar:
107
  value="sagawa/ReactionT5v2-forward",
108
  help="Hugging Face Hub repo or local path",
109
  )
110
- st.divider()
111
 
112
  st.caption("Generation")
113
  num_beams = st.slider("num_beams", 1, 10, 5, 1)
@@ -334,14 +334,41 @@ if run:
334
  )
335
 
336
  # -----------------------------
337
- # Footer Note
338
  # -----------------------------
339
  st.markdown(
340
  """
341
  <hr/>
342
- <small>
343
- Built with ❤️ using Streamlit & 🤗 Transformers.
344
- </small>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
345
  """,
346
  unsafe_allow_html=True,
347
  )
 
107
  value="sagawa/ReactionT5v2-forward",
108
  help="Hugging Face Hub repo or local path",
109
  )
110
+ st.markdown("---")
111
 
112
  st.caption("Generation")
113
  num_beams = st.slider("num_beams", 1, 10, 5, 1)
 
334
  )
335
 
336
  # -----------------------------
337
+ # Footer Note (replace this whole block)
338
  # -----------------------------
339
  st.markdown(
340
  """
341
  <hr/>
342
+ <div style="font-size:0.95rem; line-height:1.6">
343
+ <strong>Citation</strong><br/>
344
+ Sagawa, T., & Kojima, R. (2025).
345
+ <em>ReactionT5: a pre-trained transformer model for accurate chemical reaction prediction with limited data</em>.
346
+ <em>Journal of Cheminformatics</em>, 17(1), 126.
347
+ <a href="https://doi.org/10.1186/s13321-025-01075-4" target="_blank" rel="noopener">
348
+ https://doi.org/10.1186/s13321-025-01075-4
349
+ </a>
350
+
351
+ <details style="margin-top: .5rem;">
352
+ <summary style="cursor: pointer;">Show BibTeX</summary>
353
+ <pre style="white-space: pre-wrap; font-size:0.9rem; margin-top:.5rem;">
354
+ @article{Sagawa2025,
355
+ title = {ReactionT5: a pre-trained transformer model for accurate chemical reaction prediction with limited data},
356
+ author = {Sagawa, Tatsuya and Kojima, Ryosuke},
357
+ journal = {Journal of Cheminformatics},
358
+ year = {2025},
359
+ volume = {17},
360
+ number = {1},
361
+ pages = {126},
362
+ doi = {10.1186/s13321-025-01075-4},
363
+ url = {https://doi.org/10.1186/s13321-025-01075-4}
364
+ }
365
+ </pre>
366
+ </details>
367
+
368
+ <div style="margin-top:.75rem; color:#666;">
369
+ Built with Streamlit and Transformers.
370
+ </div>
371
+ </div>
372
  """,
373
  unsafe_allow_html=True,
374
  )