Pheire commited on
Commit
0467024
·
verified ·
1 Parent(s): 13fa62b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -128,12 +128,14 @@ def classify_accent(input_file_or_url):
128
  # Gradio UI
129
  with gr.Blocks() as demo:
130
  gr.Markdown("# Accent Identifier")
131
- gr.Markdown("Upload a video/audio file or paste a YouTube URL to identify the speaker's accent.")
 
 
132
 
133
  with gr.Row():
134
  with gr.Column():
135
  input_file = gr.File(label="Upload video/audio file", file_types=[".mp4", ".wav", ".mp3"])
136
- url_input = gr.Textbox(label="...or paste a YouTube URL")
137
  submit_btn = gr.Button("Classify Accent")
138
 
139
  with gr.Column():
 
128
  # Gradio UI
129
  with gr.Blocks() as demo:
130
  gr.Markdown("# Accent Identifier")
131
+ gr.Markdown(
132
+ "Upload a video or audio file, or paste a link (e.g. direct .mp4 URL or Loom video) to identify the speaker's accent."
133
+ )
134
 
135
  with gr.Row():
136
  with gr.Column():
137
  input_file = gr.File(label="Upload video/audio file", file_types=[".mp4", ".wav", ".mp3"])
138
+ url_input = gr.Textbox(label="...or paste a direct mp4 URL/loom link")
139
  submit_btn = gr.Button("Classify Accent")
140
 
141
  with gr.Column():