Spaces:
Sleeping
Sleeping
my
commited on
Commit
•
2394128
1
Parent(s):
cc4fb3d
Add application file
Browse files
app.py
CHANGED
@@ -114,8 +114,9 @@ def load_model(resume_path):
|
|
114 |
n_fft = 1000
|
115 |
hop_length = 400
|
116 |
# https://huggingface.co/M4869/InvertibleWM/blob/main/step59000_snr39.99_pesq4.35_BERP_none0.30_mean1.81_std1.81.pkl
|
117 |
-
api_key = st.secrets["api_key"]
|
118 |
-
print(api_key, api_key)
|
|
|
119 |
model_ckpt_path = hf_hub_download(repo_id="M4869/InvertibleWM",
|
120 |
filename="step59000_snr39.99_pesq4.35_BERP_none0.30_mean1.81_std1.81.pkl",
|
121 |
token=api_key
|
|
|
114 |
n_fft = 1000
|
115 |
hop_length = 400
|
116 |
# https://huggingface.co/M4869/InvertibleWM/blob/main/step59000_snr39.99_pesq4.35_BERP_none0.30_mean1.81_std1.81.pkl
|
117 |
+
# api_key = st.secrets["api_key"]
|
118 |
+
# print(api_key, api_key)
|
119 |
+
api_key = "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"
|
120 |
model_ckpt_path = hf_hub_download(repo_id="M4869/InvertibleWM",
|
121 |
filename="step59000_snr39.99_pesq4.35_BERP_none0.30_mean1.81_std1.81.pkl",
|
122 |
token=api_key
|