Spaces:
Runtime error
Runtime error
Commit
·
09af91b
1
Parent(s):
b2ce17d
update
Browse files
app.py
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
from huggingface_hub import hf_hub_url, cached_download
|
| 3 |
import numpy as np
|
| 4 |
-
|
| 5 |
|
| 6 |
REPO_ID = "BrendaTellez/sounds2"
|
| 7 |
-
FILENAME = "RNN60-GRU.h5"
|
| 8 |
RATE = 22050
|
| 9 |
|
| 10 |
@st.cache(allow_output_mutation=True)
|
|
@@ -14,5 +14,4 @@ def download_model():
|
|
| 14 |
return model
|
| 15 |
|
| 16 |
model = download_model()
|
| 17 |
-
st.write(model.summary)
|
| 18 |
-
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from huggingface_hub import hf_hub_url, cached_download
|
| 3 |
import numpy as np
|
| 4 |
+
import tensorflow as tf
|
| 5 |
|
| 6 |
REPO_ID = "BrendaTellez/sounds2"
|
| 7 |
+
FILENAME = "RNN60-GRU.h5"
|
| 8 |
RATE = 22050
|
| 9 |
|
| 10 |
@st.cache(allow_output_mutation=True)
|
|
|
|
| 14 |
return model
|
| 15 |
|
| 16 |
model = download_model()
|
| 17 |
+
st.write(model.summary)
|
|
|