Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -5
src/streamlit_app.py
CHANGED
|
@@ -11,12 +11,11 @@ st.set_page_config(page_title="Automatic Speech Recognition for African Language
|
|
| 11 |
st.title("ASR for African Languages Model Hub")
|
| 12 |
|
| 13 |
# Create tabs
|
| 14 |
-
tab1, tab2, tab3 = st.tabs(["ASR
|
| 15 |
|
| 16 |
# --- Tab 1: Demo ---
|
| 17 |
with tab1:
|
| 18 |
st.header("Demo")
|
| 19 |
-
st.write("ASR Africa demo:")
|
| 20 |
|
| 21 |
# Option 1: Embed Hugging Face Space with iframe
|
| 22 |
components.iframe(
|
|
@@ -32,9 +31,6 @@ with tab1:
|
|
| 32 |
|
| 33 |
# --- Tab 2: Owner Avatar / Dataset ---
|
| 34 |
with tab2:
|
| 35 |
-
st.header("ASR Africa Benchmark Dataset")
|
| 36 |
-
st.write("Dataset details:")
|
| 37 |
-
|
| 38 |
# Load Markdown file if provided
|
| 39 |
md_file = Path("src/benchmark.md")
|
| 40 |
if md_file.exists():
|
|
|
|
| 11 |
st.title("ASR for African Languages Model Hub")
|
| 12 |
|
| 13 |
# Create tabs
|
| 14 |
+
tab1, tab2, tab3 = st.tabs(["ASR models demo", "Benchmark Dataset", "Model Collections"])
|
| 15 |
|
| 16 |
# --- Tab 1: Demo ---
|
| 17 |
with tab1:
|
| 18 |
st.header("Demo")
|
|
|
|
| 19 |
|
| 20 |
# Option 1: Embed Hugging Face Space with iframe
|
| 21 |
components.iframe(
|
|
|
|
| 31 |
|
| 32 |
# --- Tab 2: Owner Avatar / Dataset ---
|
| 33 |
with tab2:
|
|
|
|
|
|
|
|
|
|
| 34 |
# Load Markdown file if provided
|
| 35 |
md_file = Path("src/benchmark.md")
|
| 36 |
if md_file.exists():
|