Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -265,24 +265,24 @@ with demo:
|
|
265 |
transcription_var = gr.Variable()
|
266 |
|
267 |
with gr.Row():
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
|
277 |
with gr.Row():
|
278 |
gr.Markdown('''
|
279 |
### You can test with some youtube links as below:
|
280 |
''')
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
|
287 |
|
288 |
with gr.Row():
|
|
|
265 |
transcription_var = gr.Variable()
|
266 |
|
267 |
with gr.Row():
|
268 |
+
gr.Markdown('''
|
269 |
+
### This space allows you to:
|
270 |
+
##### 1. Download youtube video with a given URL
|
271 |
+
##### 2. Watch it in the first video component
|
272 |
+
##### 3. Run automatic speech recognition and diarization (speaker identification)
|
273 |
+
''')
|
274 |
+
memory = psutil.virtual_memory()
|
275 |
+
system_info = gr.Markdown(f"*Memory: {memory.total / (1024 * 1024 * 1024):.2f}GB, used: {memory.percent}%, available: {memory.available / (1024 * 1024 * 1024):.2f}GB*")
|
276 |
|
277 |
with gr.Row():
|
278 |
gr.Markdown('''
|
279 |
### You can test with some youtube links as below:
|
280 |
''')
|
281 |
+
examples = gr.Examples(examples=
|
282 |
+
[ "https://www.youtube.com/watch?v=j7BfEzAFuYc&t=32s",
|
283 |
+
"https://www.youtube.com/watch?v=-UX0X45sYe4",
|
284 |
+
"https://www.youtube.com/watch?v=7minSgqi-Gw"],
|
285 |
+
label="Examples", inputs=[youtube_url_in])
|
286 |
|
287 |
|
288 |
with gr.Row():
|