bofenghuang commited on
Commit
d925c7e
β€’
1 Parent(s): fe32065
Files changed (2) hide show
  1. README.md +3 -3
  2. app.py +2 -2
README.md CHANGED
@@ -1,8 +1,8 @@
1
  ---
2
- title: Automatic Speech Recognition in French
3
  emoji: πŸ‘‚
4
- colorFrom: blue
5
- colorTo: pink
6
  sdk: gradio
7
  sdk_version: 3.9
8
  app_file: app.py
 
1
  ---
2
+ title: Realtime ASR in French
3
  emoji: πŸ‘‚
4
+ colorFrom: green
5
+ colorTo: indigo
6
  sdk: gradio
7
  sdk_version: 3.9
8
  app_file: app.py
app.py CHANGED
@@ -8,6 +8,7 @@ def transcribe(audio, state=""):
8
  state += text + " "
9
  return state, state
10
 
 
11
  iface = gr.Interface(
12
  fn=transcribe,
13
  inputs=[
@@ -24,5 +25,4 @@ iface = gr.Interface(
24
  live=True
25
  )
26
 
27
- # iface.launch()
28
- iface.launch(server_name="0.0.0.0", share=True)
 
8
  state += text + " "
9
  return state, state
10
 
11
+ # streaming mode
12
  iface = gr.Interface(
13
  fn=transcribe,
14
  inputs=[
 
25
  live=True
26
  )
27
 
28
+ iface.launch()