whispy commited on
Commit
dc50911
1 Parent(s): 803b60d

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -84,7 +84,7 @@ def yt_transcribe(yt_url):
84
 
85
  return html_embed_str, text, summary, translate
86
 
87
- demo = gr.Blocks()
88
 
89
  mf_transcribe = gr.Interface(
90
  fn=transcribe,
@@ -121,9 +121,11 @@ yt_transcribe = gr.Interface(
121
  allow_flagging="never",
122
  )
123
  '''
124
-
125
  with demo:
126
  #gr.TabbedInterface([mf_transcribe, yt_transcribe], ["Transcribe Audio", "Transcribe YouTube"])
127
  gr.TabbedInterface(mf_transcribe, "Transcribe Audio to Image")
128
 
129
  demo.launch(enable_queue=True)
 
 
 
84
 
85
  return html_embed_str, text, summary, translate
86
 
87
+ #demo = gr.Blocks()
88
 
89
  mf_transcribe = gr.Interface(
90
  fn=transcribe,
 
121
  allow_flagging="never",
122
  )
123
  '''
124
+ '''
125
  with demo:
126
  #gr.TabbedInterface([mf_transcribe, yt_transcribe], ["Transcribe Audio", "Transcribe YouTube"])
127
  gr.TabbedInterface(mf_transcribe, "Transcribe Audio to Image")
128
 
129
  demo.launch(enable_queue=True)
130
+ '''
131
+ mf_transcribe.launch(enable_queue=True)