connaaa commited on
Commit
87a9a88
·
verified ·
1 Parent(s): b6c6615

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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 guess the recording device (demo)")
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(