fffiloni commited on
Commit
4b6af4c
1 Parent(s): 261124f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -107,6 +107,7 @@ with gr.Blocks(css=css) as demo:
107
 
108
  with gr.Row():
109
  with gr.Column():
 
110
  video_frames = gr.Files(label="Video frames")
111
  masks_frames = gr.Files(label="Masks frames")
112
 
@@ -119,6 +120,6 @@ with gr.Blocks(css=css) as demo:
119
 
120
 
121
 
122
- submit_btn.click(fn=infer, inputs=[video_frames, masks_frames], outputs=[result, res_masked, res_files])
123
 
124
  demo.queue(max_size=12).launch()
 
107
 
108
  with gr.Row():
109
  with gr.Column():
110
+ project_name = gr.Textbox(value="my-new-project")
111
  video_frames = gr.Files(label="Video frames")
112
  masks_frames = gr.Files(label="Masks frames")
113
 
 
120
 
121
 
122
 
123
+ submit_btn.click(fn=infer, inputs=[video_frames, masks_frames, project_name], outputs=[result, res_masked, res_files])
124
 
125
  demo.queue(max_size=12).launch()