ysharma HF staff commited on
Commit
6885486
1 Parent(s): 81c1994

added theme and disabled default ssr mode

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -90,7 +90,7 @@ def yt_transcribe(yt_url, task, max_filesize=75.0):
90
  return html_embed_str, text
91
 
92
 
93
- demo = gr.Blocks()
94
 
95
  mf_transcribe = gr.Interface(
96
  fn=transcribe,
@@ -143,5 +143,5 @@ yt_transcribe = gr.Interface(
143
  with demo:
144
  gr.TabbedInterface([mf_transcribe, file_transcribe, yt_transcribe], ["Microphone", "Audio file", "YouTube"])
145
 
146
- demo.queue().launch()
147
 
 
90
  return html_embed_str, text
91
 
92
 
93
+ demo = gr.Blocks(theme=gr.themes.Ocean())
94
 
95
  mf_transcribe = gr.Interface(
96
  fn=transcribe,
 
143
  with demo:
144
  gr.TabbedInterface([mf_transcribe, file_transcribe, yt_transcribe], ["Microphone", "Audio file", "YouTube"])
145
 
146
+ demo.queue().launch(ssr_mode=False)
147