gchhablani commited on
Commit
76f1340
1 Parent(s): 3bd4b4e

Move TensorBoard logs to beta expanders

Browse files
Files changed (1) hide show
  1. apps/article.py +7 -2
apps/article.py CHANGED
@@ -324,8 +324,10 @@ def app(state=None):
324
  toc.subsubheader("MLM Model")
325
  st.write(read_markdown("pretraining/model.md"))
326
  toc.subsubheader("MLM Training Logs")
 
327
  st.info("In case the TensorBoard logs are not displayed, please visit this link: https://huggingface.co/flax-community/multilingual-vqa-pt-ckpts/tensorboard")
328
- st_tensorboard(logdir='./logs/pretrain_logs', port=6006)
 
329
 
330
 
331
  toc.subheader("Finetuning")
@@ -334,8 +336,11 @@ def app(state=None):
334
  toc.subsubheader("VQA Model")
335
  st.write(read_markdown("finetuning/model.md"))
336
  toc.subsubheader("VQA Training Logs")
 
337
  st.info("In case the TensorBoard logs are not displayed, please visit this link: https://huggingface.co/flax-community/multilingual-vqa-pt-60k-ft/tensorboard")
338
- st_tensorboard(logdir='./logs/finetune_logs', port=6007)
 
 
339
 
340
  toc.header("Challenges and Technical Difficulties")
341
  st.write(read_markdown("challenges.md"))
 
324
  toc.subsubheader("MLM Model")
325
  st.write(read_markdown("pretraining/model.md"))
326
  toc.subsubheader("MLM Training Logs")
327
+ st.write("Click on the expandable region to see the TensorBoard logs.")
328
  st.info("In case the TensorBoard logs are not displayed, please visit this link: https://huggingface.co/flax-community/multilingual-vqa-pt-ckpts/tensorboard")
329
+ with st.beta_expander("MLM TensorBoard Logs"):
330
+ st_tensorboard(logdir='./logs/pretrain_logs', port=6006)
331
 
332
 
333
  toc.subheader("Finetuning")
 
336
  toc.subsubheader("VQA Model")
337
  st.write(read_markdown("finetuning/model.md"))
338
  toc.subsubheader("VQA Training Logs")
339
+ st.write("Click on the expandable region to see the TensorBoard logs.")
340
  st.info("In case the TensorBoard logs are not displayed, please visit this link: https://huggingface.co/flax-community/multilingual-vqa-pt-60k-ft/tensorboard")
341
+ with st.beta_expander("VQA TensorBoard Logs"):
342
+ st_tensorboard(logdir='./logs/finetune_logs', port=6007)
343
+
344
 
345
  toc.header("Challenges and Technical Difficulties")
346
  st.write(read_markdown("challenges.md"))