miojizzy commited on
Commit
315c7c6
·
1 Parent(s): 6a0d672

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -52,7 +52,7 @@ with gr.Blocks() as demo:
52
  path = os.path.dirname(__file__)
53
  print("path:", path)
54
  df.to_csv('label.csv')
55
- return [ path+"test.mp4", path+"label.csv"]
56
 
57
  with gr.Row():
58
  df = gr.Dataframe(
@@ -60,6 +60,7 @@ with gr.Blocks() as demo:
60
  datatype=["number", "number", "number"],
61
  row_count=0,
62
  col_count=(3, "fixed"),
 
63
  )
64
  file = gr.File(file_count='multiple')
65
  btn_make_dataset = gr.Button(value="make dataset")
 
52
  path = os.path.dirname(__file__)
53
  print("path:", path)
54
  df.to_csv('label.csv')
55
+ return [ path+"/test.mp4", path+"/label.csv"]
56
 
57
  with gr.Row():
58
  df = gr.Dataframe(
 
60
  datatype=["number", "number", "number"],
61
  row_count=0,
62
  col_count=(3, "fixed"),
63
+ height=500,
64
  )
65
  file = gr.File(file_count='multiple')
66
  btn_make_dataset = gr.Button(value="make dataset")