chrisjay commited on
Commit
3dcd82d
1 Parent(s): a30e647

work on app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- ).launch(enable_queue=True)
 
 
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()