Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -35,13 +35,15 @@ def classify_audio(audio_file: str):
|
|
35 |
desc = """
|
36 |
# NSFW音声分類器
|
37 |
|
38 |
-
出力は以下の
|
39 |
- usual: 通常の音声
|
40 |
-
-
|
41 |
-
|
|
|
42 |
"""
|
43 |
|
44 |
|
|
|
45 |
with gr.Interface(
|
46 |
fn=classify_audio,
|
47 |
inputs=gr.Audio(label="Input audio", type="filepath"),
|
|
|
35 |
desc = """
|
36 |
# NSFW音声分類器
|
37 |
|
38 |
+
出力は以下の2つのクラスの確率です。
|
39 |
- usual: 通常の音声
|
40 |
+
- ecchi: エッチな音声
|
41 |
+
|
42 |
+
元Space:https://huggingface.co/spaces/litagin/Japanese-Ero-Voice-Classifier
|
43 |
"""
|
44 |
|
45 |
|
46 |
+
|
47 |
with gr.Interface(
|
48 |
fn=classify_audio,
|
49 |
inputs=gr.Audio(label="Input audio", type="filepath"),
|