ales commited on
Commit
13bc0d5
1 Parent(s): f701cd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -66,7 +66,7 @@ mf_transcribe = gr.Interface(
66
  fn=transcribe,
67
  inputs=[gr.Audio(sources=["microphone", "upload"], type="filepath")],
68
  outputs="text",
69
- layout="horizontal",
70
  theme="huggingface",
71
  title="Whisper Demo: Transcribe Audio",
72
  description=(
@@ -87,7 +87,7 @@ yt_transcribe = gr.Interface(
87
  )
88
  ],
89
  outputs=["html", "text"],
90
- layout="horizontal",
91
  theme="huggingface",
92
  title="Whisper Demo: Transcribe YouTube",
93
  description=(
@@ -103,4 +103,6 @@ with demo:
103
  [mf_transcribe, yt_transcribe], ["Transcribe Audio", "Transcribe YouTube"]
104
  )
105
 
106
- demo.launch(enable_queue=True)
 
 
 
66
  fn=transcribe,
67
  inputs=[gr.Audio(sources=["microphone", "upload"], type="filepath")],
68
  outputs="text",
69
+ # layout="horizontal",
70
  theme="huggingface",
71
  title="Whisper Demo: Transcribe Audio",
72
  description=(
 
87
  )
88
  ],
89
  outputs=["html", "text"],
90
+ # layout="horizontal",
91
  theme="huggingface",
92
  title="Whisper Demo: Transcribe YouTube",
93
  description=(
 
103
  [mf_transcribe, yt_transcribe], ["Transcribe Audio", "Transcribe YouTube"]
104
  )
105
 
106
+ demo.launch(
107
+ # enable_queue=True
108
+ )