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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -263,17 +263,17 @@ demo.encrypt = False
263
 
264
  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:
 
263
 
264
  with demo:
265
  transcription_var = gr.Variable()
266
+ memory = psutil.virtual_memory()
267
 
268
  with gr.Row():
269
+ gr.Markdown(f'''
270
  ### This space allows you to:
271
  ##### 1. Download youtube video with a given URL
272
  ##### 2. Watch it in the first video component
273
  ##### 3. Run automatic speech recognition and diarization (speaker identification)
274
+ *Memory: {memory.total / (1024 * 1024 * 1024):.2f}GB, used: {memory.percent}%, available: {memory.available / (1024 * 1024 * 1024):.2f}GB*
275
  ''')
276
+
 
 
277
  with gr.Row():
278
  gr.Markdown('''
279
  ### You can test with some youtube links as below: