Spaces:
Running
Running
change radio value
Browse files
app.py
CHANGED
@@ -169,7 +169,7 @@ with gr.Blocks(theme='NoCrypt/miku') as demo:
|
|
169 |
|
170 |
with gr.Accordion("Input"):
|
171 |
with gr.Column():
|
172 |
-
input_type = gr.Radio(["YouTube URL", "Audio File"], label="Input Type", value="
|
173 |
with gr.Row():
|
174 |
youtube_url = gr.Textbox(label="YouTube URL", visible=False, info="Input the full URL of the YouTube video you want to transcribe and summarize. Example: https://www.youtube.com/watch?v=VIDEO_ID")
|
175 |
audio_file = gr.File(label="Upload Audio File", visible=True, file_types=['.wav', '.flac', '.mp3'])
|
|
|
169 |
|
170 |
with gr.Accordion("Input"):
|
171 |
with gr.Column():
|
172 |
+
input_type = gr.Radio(["YouTube URL", "Audio File"], label="Input Type", value="Audio File", info="Please consider using the audio file if you face any issues with the YouTube URL. Currently youtube is banning HuggingFace IP Addresses.")
|
173 |
with gr.Row():
|
174 |
youtube_url = gr.Textbox(label="YouTube URL", visible=False, info="Input the full URL of the YouTube video you want to transcribe and summarize. Example: https://www.youtube.com/watch?v=VIDEO_ID")
|
175 |
audio_file = gr.File(label="Upload Audio File", visible=True, file_types=['.wav', '.flac', '.mp3'])
|