Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -40,9 +40,15 @@ def translate(text):
|
|
40 |
|
41 |
|
42 |
# Set the starting state to an empty string
|
|
|
|
|
|
|
43 |
|
44 |
gr.Interface(
|
45 |
-
fn=transcribe,
|
|
|
|
|
|
|
46 |
inputs=[
|
47 |
gr.Audio(source="microphone", type="filepath", streaming=True),
|
48 |
"state"
|
|
|
40 |
|
41 |
|
42 |
# Set the starting state to an empty string
|
43 |
+
description = "A simple interface to streaming interpret from spoken English to Vietnamese."
|
44 |
+
article = "Author: <a href=\"https://huggingface.co/vumichien\">Vu Minh Chien</a>."
|
45 |
+
title="Streaming interpret English to Vietnamese"
|
46 |
|
47 |
gr.Interface(
|
48 |
+
fn=transcribe,
|
49 |
+
title=title,
|
50 |
+
description=description,
|
51 |
+
article=article,
|
52 |
inputs=[
|
53 |
gr.Audio(source="microphone", type="filepath", streaming=True),
|
54 |
"state"
|