Spaces:
Runtime error
Runtime error
Commit
β’
da86ada
1
Parent(s):
a6d12a6
Initial commit
Browse files- app.py +2 -2
- config.yaml +1 -1
app.py
CHANGED
@@ -77,9 +77,9 @@ def main():
|
|
77 |
result = result[0]
|
78 |
|
79 |
if 'Real' == result[0]:
|
80 |
-
st.success(f'Audio is real! \nprob:{result[1]}', icon="β
")
|
81 |
else:
|
82 |
-
st.error(f'Audio is fake! \nprob:{result[1]}', icon="π¨")
|
83 |
|
84 |
st.divider()
|
85 |
st.write('## Response JSON')
|
|
|
77 |
result = result[0]
|
78 |
|
79 |
if 'Real' == result[0]:
|
80 |
+
st.success(f'Audio is real! \nprob: {result[1]}', icon="β
")
|
81 |
else:
|
82 |
+
st.error(f'Audio is fake! \nprob: {result[1]}', icon="π¨")
|
83 |
|
84 |
st.divider()
|
85 |
st.write('## Response JSON')
|
config.yaml
CHANGED
@@ -2,7 +2,7 @@ data:
|
|
2 |
seed: 42
|
3 |
|
4 |
checkpoint:
|
5 |
-
path:
|
6 |
|
7 |
model:
|
8 |
name: whisper_frontend_mesonet
|
|
|
2 |
seed: 42
|
3 |
|
4 |
checkpoint:
|
5 |
+
path: mesonet_whisper_mfcc_finetuned.pth
|
6 |
|
7 |
model:
|
8 |
name: whisper_frontend_mesonet
|