Spaces:
Build error
Build error
work on app.py
Browse files
app.py
CHANGED
@@ -25,14 +25,14 @@ A platform to contribute to your African language by recording your voice
|
|
25 |
|
26 |
# Interface design begins
|
27 |
|
28 |
-
gr.Interface(fn=get_record,
|
29 |
inputs=[gr.inputs.Textbox(placeholder='Choose your language'),
|
30 |
gr.inputs.Textbox(placeholder='Write your text'),
|
31 |
gr.inputs.Audio(source="microphone",label='Record your voice')
|
32 |
],
|
33 |
outputs = "text",
|
34 |
title=title,
|
35 |
-
description=description,
|
36 |
-
enable_queue=True,
|
37 |
theme='huggingface'
|
38 |
-
)
|
|
|
|
25 |
|
26 |
# Interface design begins
|
27 |
|
28 |
+
iface = gr.Interface(fn=get_record,
|
29 |
inputs=[gr.inputs.Textbox(placeholder='Choose your language'),
|
30 |
gr.inputs.Textbox(placeholder='Write your text'),
|
31 |
gr.inputs.Audio(source="microphone",label='Record your voice')
|
32 |
],
|
33 |
outputs = "text",
|
34 |
title=title,
|
35 |
+
description=description,
|
|
|
36 |
theme='huggingface'
|
37 |
+
)
|
38 |
+
iface.launch()
|