Epsilon617 commited on
Commit
ebd2b6f
1 Parent(s): 61671b0

formatting output

Browse files
Files changed (2) hide show
  1. __pycache__/app.cpython-310.pyc +0 -0
  2. app.py +2 -2
__pycache__/app.cpython-310.pyc CHANGED
Binary files a/__pycache__/app.cpython-310.pyc and b/__pycache__/app.cpython-310.pyc differ
 
app.py CHANGED
@@ -52,12 +52,12 @@ df_init = pd.DataFrame(columns=['Task', 'Top 1', 'Top 2', 'Top 3'])
52
  transcription_df = gr.DataFrame(value=df_init, label="Output Dataframe", row_count=(
53
  0, "dynamic"), max_rows=30, wrap=True, overflow_row_behaviour='paginate')
54
  # outputs = [gr.components.Textbox()]
55
- outputs = [ transcription_df]
56
 
57
  df_init_live = pd.DataFrame(columns=['Task', 'Top 1', 'Top 2', 'Top 3'])
58
  transcription_df_live = gr.DataFrame(value=df_init_live, label="Output Dataframe", row_count=(
59
  0, "dynamic"), max_rows=30, wrap=True, overflow_row_behaviour='paginate')
60
- outputs_live = [transcription_df_live]
61
 
62
  # Load the model and the corresponding preprocessor config
63
  # model = AutoModel.from_pretrained("m-a-p/MERT-v0-public", trust_remote_code=True)
 
52
  transcription_df = gr.DataFrame(value=df_init, label="Output Dataframe", row_count=(
53
  0, "dynamic"), max_rows=30, wrap=True, overflow_row_behaviour='paginate')
54
  # outputs = [gr.components.Textbox()]
55
+ outputs = transcription_df
56
 
57
  df_init_live = pd.DataFrame(columns=['Task', 'Top 1', 'Top 2', 'Top 3'])
58
  transcription_df_live = gr.DataFrame(value=df_init_live, label="Output Dataframe", row_count=(
59
  0, "dynamic"), max_rows=30, wrap=True, overflow_row_behaviour='paginate')
60
+ outputs_live = transcription_df_live
61
 
62
  # Load the model and the corresponding preprocessor config
63
  # model = AutoModel.from_pretrained("m-a-p/MERT-v0-public", trust_remote_code=True)