Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ with gr.Blocks(theme="base", css=css) as demo:
|
|
| 15 |
with gr.Column():
|
| 16 |
with gr.Row():
|
| 17 |
source = gr.Radio(label="Source type", choices=[ ("YouTube URL", "youtube"), ("Audio", "audio"), ("Video", "video")], value="youtube")
|
| 18 |
-
cleanup_options = gr.CheckboxGroup(label="Cleanup Transcript with LLM", choices=["Remove typos", "Separate into paragraphs"]
|
| 19 |
@gr.render(inputs=source)
|
| 20 |
def show_source(s):
|
| 21 |
if s == "audio":
|
|
|
|
| 15 |
with gr.Column():
|
| 16 |
with gr.Row():
|
| 17 |
source = gr.Radio(label="Source type", choices=[ ("YouTube URL", "youtube"), ("Audio", "audio"), ("Video", "video")], value="youtube")
|
| 18 |
+
cleanup_options = gr.CheckboxGroup(label="Cleanup Transcript with LLM", choices=["Remove typos", "Separate into paragraphs"])
|
| 19 |
@gr.render(inputs=source)
|
| 20 |
def show_source(s):
|
| 21 |
if s == "audio":
|