Core23 lyimo commited on
Commit
248c941
·
verified ·
1 Parent(s): 31df500

Update app.py (#1)

Browse files

- Update app.py (85bf652a1d3779755094b2f075691cab4bf38570)


Co-authored-by: Tumaini Lyimo <[email protected]>

Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -28,5 +28,8 @@ demo = gr.Interface(
28
  description="Rekodi sauti yako na upate maandishi (Swahili ASR)",
29
  live=True
30
  )
 
 
31
 
32
- demo.launch()
 
 
28
  description="Rekodi sauti yako na upate maandishi (Swahili ASR)",
29
  live=True
30
  )
31
+ # Enable the queue to handle POST requests
32
+ interface.queue(api_open=True)
33
 
34
+ # Launch the interface
35
+ interface.launch()