paulbauriegel commited on
Commit
1307cdd
·
1 Parent(s): a45d825

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ with gr.Blocks(title='Whisper Demo', theme=theme) as demo:
65
  transcribe_btn = gr.Button("Transcribe audio", variant="primary")
66
  translate_btn = gr.Button("Translate audio")
67
  trans_df = gr.DataFrame(label="Transcription dataframe", row_count=(0, "dynamic"), max_rows = 10, wrap=True, overflow_row_behaviour='paginate')
68
- sys_info = gr.Markdown(f"*Memory: {memory.total / (1024 * 1024 * 1024):.2f}GB, used: {memory.percent}%, available: {memory.available / (1024 * 1024 * 1024):.2f}GB*")
69
  transcribe_btn.click(speech_to_text_simple,
70
  [audio_in, file_in],
71
  [trans_df, sys_info]
 
65
  transcribe_btn = gr.Button("Transcribe audio", variant="primary")
66
  translate_btn = gr.Button("Translate audio")
67
  trans_df = gr.DataFrame(label="Transcription dataframe", row_count=(0, "dynamic"), max_rows = 10, wrap=True, overflow_row_behaviour='paginate')
68
+ sys_info = gr.Markdown("")
69
  transcribe_btn.click(speech_to_text_simple,
70
  [audio_in, file_in],
71
  [trans_df, sys_info]