LAP-DEV commited on
Commit
ae1fa47
·
verified ·
1 Parent(s): 60916ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -395,13 +395,13 @@ class App:
395
  if value_cb_timestamp_preview==True and value_cb_diarize==True:
396
  return gr.Dataframe(headers=["Time","Speaker","Text"],column_widths=["10%","15%","70%"],datatype=["str","str","markdown"])
397
  elif value_cb_timestamp_preview==True and value_cb_diarize==False:
398
- return gr.Dataframe(headers=["Time","Text"],column_widths=["10%","90%"],datatype=["str","markdown"])
399
  elif value_cb_timestamp_preview==False and value_cb_diarize==True:
400
  return gr.Dataframe(headers=["Speaker","Text"],column_widths=["15%","80%"],datatype=["str","markdown"])
401
  elif value_cb_timestamp_preview==False and value_cb_diarize==False:
402
- return gr.Dataframe(headers=["Text"],column_widths=["95%"],datatype=["markdown"])
403
  else:
404
- return gr.Dataframe(headers=["Text"],column_widths=["95%"],datatype=["markdown"])
405
 
406
  # Create the parser for command-line arguments
407
  parser = argparse.ArgumentParser()
 
395
  if value_cb_timestamp_preview==True and value_cb_diarize==True:
396
  return gr.Dataframe(headers=["Time","Speaker","Text"],column_widths=["10%","15%","70%"],datatype=["str","str","markdown"])
397
  elif value_cb_timestamp_preview==True and value_cb_diarize==False:
398
+ return gr.Dataframe(headers=["Time","Text"],column_widths=["10%","85%"],datatype=["str","markdown"])
399
  elif value_cb_timestamp_preview==False and value_cb_diarize==True:
400
  return gr.Dataframe(headers=["Speaker","Text"],column_widths=["15%","80%"],datatype=["str","markdown"])
401
  elif value_cb_timestamp_preview==False and value_cb_diarize==False:
402
+ return gr.Dataframe(headers=["Text"],column_widths=["85%"],datatype=["markdown"])
403
  else:
404
+ return gr.Dataframe(headers=["Text"],column_widths=["85%"],datatype=["markdown"])
405
 
406
  # Create the parser for command-line arguments
407
  parser = argparse.ArgumentParser()