Update app.py
Browse files
app.py
CHANGED
|
@@ -17,8 +17,7 @@ import numpy as np
|
|
| 17 |
import pandas as pd
|
| 18 |
import streamlit as st
|
| 19 |
|
| 20 |
-
if not st.runtime.exists():
|
| 21 |
-
# Hugging Face Spaces sometimes executes `python app.py`; bootstrap Streamlit manually.
|
| 22 |
from streamlit.web import cli as stcli
|
| 23 |
|
| 24 |
import sys
|
|
@@ -101,7 +100,7 @@ def estimate_scale(y: np.ndarray, sr: int) -> str | None:
|
|
| 101 |
|
| 102 |
st.set_page_config(page_title="Mic-ID (MVP)", layout="centered")
|
| 103 |
st.title("Mic-ID (MVP)")
|
| 104 |
-
st.caption("Upload ~5s audio
|
| 105 |
|
| 106 |
with st.expander("Training data & devices", expanded=False):
|
| 107 |
st.markdown(
|
|
|
|
| 17 |
import pandas as pd
|
| 18 |
import streamlit as st
|
| 19 |
|
| 20 |
+
if not st.runtime.exists():.
|
|
|
|
| 21 |
from streamlit.web import cli as stcli
|
| 22 |
|
| 23 |
import sys
|
|
|
|
| 100 |
|
| 101 |
st.set_page_config(page_title="Mic-ID (MVP)", layout="centered")
|
| 102 |
st.title("Mic-ID (MVP)")
|
| 103 |
+
st.caption("Upload ~5s audio - guess the recording device")
|
| 104 |
|
| 105 |
with st.expander("Training data & devices", expanded=False):
|
| 106 |
st.markdown(
|