rmayormartins commited on
Commit
3338e2e
1 Parent(s): 6ca9d11

Subindo arquivos3

Browse files
Files changed (2) hide show
  1. app.py +9 -2
  2. results/model.safetensors +1 -1
app.py CHANGED
@@ -45,12 +45,19 @@ def classify_accent(audio):
45
  except Exception as e:
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()
 
45
  except Exception as e:
46
  return f"Erro ao processar o áudio: {str(e)}"
47
 
48
+ # Interface do Gradio
49
+ description_html = """
50
+ <p>Test with recording or uploading an audio file. To test, I recommend a word.</p>
51
+ <p>Ramon Mayor Martins: <a href="https://rmayormartins.github.io/" target="_blank">Website</a> | <a href="https://huggingface.co/rmayormartins" target="_blank">Spaces</a></p>
52
+ """
53
+
54
  # Interface do Gradio
55
  interface = gr.Interface(
56
  fn=classify_accent,
57
  inputs=gr.Audio(type="numpy"),
58
  outputs="label",
59
+ title="Speech Accent Classifier (Portuguese-Brazilian) v1.3",
60
+ description=description_html
61
  )
62
+
63
  interface.launch()
results/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:119aed856b0295e53c45ccee769ea69027349953060926432dc1022539c73fbe
3
  size 378302360
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f804495132c0ba1d61ce5c3b8b7d6cc53b49eb3be8cf95357c0a57f78e495421
3
  size 378302360