vumichien commited on
Commit
7f35f66
1 Parent(s): 27b37a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -265,24 +265,24 @@ with demo:
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():
 
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():