Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
|
@@ -2,6 +2,9 @@ import streamlit as st
|
|
| 2 |
from echoanimal import main as echoanimal_main
|
| 3 |
from wiki_taxonomy import main as wiki_taxonomy_main
|
| 4 |
|
|
|
|
|
|
|
|
|
|
| 5 |
# Sidebar Navigation
|
| 6 |
st.sidebar.title("Choose an Application")
|
| 7 |
app_choice = st.sidebar.radio("Select App:", ["Animal Sound Translator", "Animal Taxonomy Classifier"])
|
|
@@ -14,3 +17,4 @@ elif app_choice == "Animal Taxonomy Classifier":
|
|
| 14 |
st.title("Animal Taxonomy Classifier")
|
| 15 |
wiki_taxonomy_main()
|
| 16 |
|
|
|
|
|
|
| 2 |
from echoanimal import main as echoanimal_main
|
| 3 |
from wiki_taxonomy import main as wiki_taxonomy_main
|
| 4 |
|
| 5 |
+
# Set page configuration at the top of the main script
|
| 6 |
+
st.set_page_config(page_title="Unified Animal App", layout="wide")
|
| 7 |
+
|
| 8 |
# Sidebar Navigation
|
| 9 |
st.sidebar.title("Choose an Application")
|
| 10 |
app_choice = st.sidebar.radio("Select App:", ["Animal Sound Translator", "Animal Taxonomy Classifier"])
|
|
|
|
| 17 |
st.title("Animal Taxonomy Classifier")
|
| 18 |
wiki_taxonomy_main()
|
| 19 |
|
| 20 |
+
|