Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -356,7 +356,7 @@ selected_whisper_model = gr.Dropdown(choices=whisper_models, type="value", value
|
|
356 |
number_speakers = gr.Number(precision=0, value=0, label="Input number of speakers for better results. If value=0, model will automatic find the best number of speakers", interactive=True)
|
357 |
system_info = gr.Markdown(f"*Memory: {memory.total / (1024 * 1024 * 1024):.2f}GB, used: {memory.percent}%, available: {memory.available / (1024 * 1024 * 1024):.2f}GB*")
|
358 |
download_transcript = gr.File(label="Download transcript")
|
359 |
-
transcription_df = gr.DataFrame(value=df_init,label="Transcription dataframe", row_count=(0, "dynamic"),
|
360 |
title = "Whisper speaker diarization"
|
361 |
demo = gr.Blocks(title=title)
|
362 |
demo.encrypt = False
|
|
|
356 |
number_speakers = gr.Number(precision=0, value=0, label="Input number of speakers for better results. If value=0, model will automatic find the best number of speakers", interactive=True)
|
357 |
system_info = gr.Markdown(f"*Memory: {memory.total / (1024 * 1024 * 1024):.2f}GB, used: {memory.percent}%, available: {memory.available / (1024 * 1024 * 1024):.2f}GB*")
|
358 |
download_transcript = gr.File(label="Download transcript")
|
359 |
+
transcription_df = gr.DataFrame(value=df_init,label="Transcription dataframe", row_count=(0, "dynamic"), wrap=True)
|
360 |
title = "Whisper speaker diarization"
|
361 |
demo = gr.Blocks(title=title)
|
362 |
demo.encrypt = False
|