Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -165,11 +165,11 @@ def gradio_ui():
|
|
165 |
interface = gr.Interface(
|
166 |
fn=detection_wrapper,
|
167 |
inputs=[
|
168 |
-
gr.Audio(sources=["upload"], type="filepath", label="Test Audio")
|
169 |
],
|
170 |
-
outputs=gr.JSON(label="Detection Results"),
|
171 |
-
title="Audio Deepfake Detection System",
|
172 |
-
description="Upload a test audio to detect whether the audio is AI-generated.",
|
173 |
)
|
174 |
return interface
|
175 |
|
|
|
165 |
interface = gr.Interface(
|
166 |
fn=detection_wrapper,
|
167 |
inputs=[
|
168 |
+
gr.Audio(sources=["upload"], type="filepath", label="测试音频 / Test Audio")
|
169 |
],
|
170 |
+
outputs=gr.JSON(label="检测结果 / Detection Results"),
|
171 |
+
title="音频伪造检测系统 / Audio Deepfake Detection System",
|
172 |
+
description="上传一个测试音频以检测该音频是否为AI生成。/ Upload a test audio to detect whether the audio is AI-generated.",
|
173 |
)
|
174 |
return interface
|
175 |
|