adhim
commited on
Commit
·
dc4e10c
1
Parent(s):
ca26a10
YouTube transcription added back. but visible=False
Browse files
app.py
CHANGED
|
@@ -671,12 +671,12 @@ with gr.Blocks() as demo:
|
|
| 671 |
subButtonSt1 = gr.Button(value="Show Default", interactive=False)
|
| 672 |
|
| 673 |
with gr.Accordion("Advanced Settings", open=False):
|
| 674 |
-
|
| 675 |
-
|
| 676 |
-
|
| 677 |
-
|
| 678 |
-
|
| 679 |
-
|
| 680 |
with gr.Group():
|
| 681 |
gr.HTML("<p style='text-align: center;'> Summarization</p>")
|
| 682 |
gr.Radio(["High Abstractive", "Low Abstractive", "Extractive"], label="Type of summarization", value="High Abstractive", interactive=False)
|
|
|
|
| 671 |
subButtonSt1 = gr.Button(value="Show Default", interactive=False)
|
| 672 |
|
| 673 |
with gr.Accordion("Advanced Settings", open=False):
|
| 674 |
+
with gr.Group(visible=False):
|
| 675 |
+
gr.HTML("<p style='text-align: center;'> YouTube transcription</p>")
|
| 676 |
+
force_transcribe_with_app = gr.Checkbox(
|
| 677 |
+
label="Always transcribe with app",
|
| 678 |
+
info="The app first checks if caption on YouTube is available. If ticked, the app will transcribe the video for you but slower.",
|
| 679 |
+
)
|
| 680 |
with gr.Group():
|
| 681 |
gr.HTML("<p style='text-align: center;'> Summarization</p>")
|
| 682 |
gr.Radio(["High Abstractive", "Low Abstractive", "Extractive"], label="Type of summarization", value="High Abstractive", interactive=False)
|