Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
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)
|