Commit
·
6ca9d11
1
Parent(s):
745fe01
Subindo arquivos
Browse files- app.py +7 -1
- results/model.safetensors +1 -1
app.py
CHANGED
@@ -46,5 +46,11 @@ def classify_accent(audio):
|
|
46 |
return f"Erro ao processar o áudio: {str(e)}"
|
47 |
|
48 |
# Interface do Gradio
|
49 |
-
interface = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
interface.launch()
|
|
|
46 |
return f"Erro ao processar o áudio: {str(e)}"
|
47 |
|
48 |
# Interface do Gradio
|
49 |
+
interface = gr.Interface(
|
50 |
+
fn=classify_accent,
|
51 |
+
inputs=gr.Audio(type="numpy"),
|
52 |
+
outputs="label",
|
53 |
+
title="Speech Accent Classifier (Portuguese-Brazilian) v1.1: Ramon Mayor Martins",
|
54 |
+
description="Test with recording or uploading an audio file. To test, i recommend an word."
|
55 |
+
)
|
56 |
interface.launch()
|
results/model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 378302360
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:119aed856b0295e53c45ccee769ea69027349953060926432dc1022539c73fbe
|
3 |
size 378302360
|