Spaces:
Runtime error
Runtime error
Commit ·
d4a060a
1
Parent(s): 051c974
Update app.py
Browse files
app.py
CHANGED
|
@@ -132,7 +132,7 @@ css = """
|
|
| 132 |
|
| 133 |
with gr.Blocks(css = css) as demo:
|
| 134 |
gr.Markdown("""
|
| 135 |
-
##
|
| 136 |
""")
|
| 137 |
gr.HTML('''
|
| 138 |
<p style="margin-bottom: 10px">
|
|
@@ -145,7 +145,7 @@ with gr.Blocks(css = css) as demo:
|
|
| 145 |
yt_input = gr.Textbox(label = 'Youtube Link')
|
| 146 |
transcribe_audio_yt = gr.Button('Transcribe')
|
| 147 |
|
| 148 |
-
with gr.Tab("Upload
|
| 149 |
audio_input_u = gr.Audio(label = 'Upload Audio',source="upload",type="filepath")
|
| 150 |
transcribe_audio_u = gr.Button('Transcribe')
|
| 151 |
|
|
|
|
| 132 |
|
| 133 |
with gr.Blocks(css = css) as demo:
|
| 134 |
gr.Markdown("""
|
| 135 |
+
## Transcript Generator
|
| 136 |
""")
|
| 137 |
gr.HTML('''
|
| 138 |
<p style="margin-bottom: 10px">
|
|
|
|
| 145 |
yt_input = gr.Textbox(label = 'Youtube Link')
|
| 146 |
transcribe_audio_yt = gr.Button('Transcribe')
|
| 147 |
|
| 148 |
+
with gr.Tab("Upload as File"):
|
| 149 |
audio_input_u = gr.Audio(label = 'Upload Audio',source="upload",type="filepath")
|
| 150 |
transcribe_audio_u = gr.Button('Transcribe')
|
| 151 |
|