Spaces:
Runtime error
Runtime error
Commit
·
66b1416
1
Parent(s):
6936744
Add ToC placeholder to examples
Browse files- apps/article.py +1 -1
- apps/examples.py +3 -1
apps/article.py
CHANGED
|
@@ -7,7 +7,7 @@ def app(state=None):
|
|
| 7 |
toc = Toc()
|
| 8 |
st.info("Welcome to our Multilingual-VQA demo. Please use the navigation sidebar to move to our demo, or scroll below to read all about our project. 🤗 In case the sidebar isn't properly rendered, please change to a smaller window size and back to full screen.")
|
| 9 |
|
| 10 |
-
st.header("Table of
|
| 11 |
toc.placeholder()
|
| 12 |
|
| 13 |
toc.header("Introduction and Motivation")
|
|
|
|
| 7 |
toc = Toc()
|
| 8 |
st.info("Welcome to our Multilingual-VQA demo. Please use the navigation sidebar to move to our demo, or scroll below to read all about our project. 🤗 In case the sidebar isn't properly rendered, please change to a smaller window size and back to full screen.")
|
| 9 |
|
| 10 |
+
st.header("Table of Contents")
|
| 11 |
toc.placeholder()
|
| 12 |
|
| 13 |
toc.header("Introduction and Motivation")
|
apps/examples.py
CHANGED
|
@@ -2,7 +2,9 @@ import streamlit as st
|
|
| 2 |
from .utils import Toc
|
| 3 |
def app(state=None):
|
| 4 |
toc = Toc()
|
| 5 |
-
|
|
|
|
|
|
|
| 6 |
toc.header("VQA Examples")
|
| 7 |
toc.subheader("Color Questions")
|
| 8 |
col1, col2, col3 = st.beta_columns([1,1,1])
|
|
|
|
| 2 |
from .utils import Toc
|
| 3 |
def app(state=None):
|
| 4 |
toc = Toc()
|
| 5 |
+
st.header("Table of Contents")
|
| 6 |
+
toc.placeholder()
|
| 7 |
+
|
| 8 |
toc.header("VQA Examples")
|
| 9 |
toc.subheader("Color Questions")
|
| 10 |
col1, col2, col3 = st.beta_columns([1,1,1])
|